2 Questions about cards and values
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
2 Questions about cards and values
Is it possible for each card to be sized differently, so that the initial is one size but the second would be larger. When doing this it seems to change both cards to the larger size. Also I need to create a summary of the selections that were made on card 1 and show them in a printable arrangement on card 2, I am trying to script a field to be the same on card 2 as it is on card 1. I tried the value1 = value2 operator but that did not work, is there a better operator I could use to accomplish this?
Hi tm1274,
You might want to use substacks of different sizes. You could also make a script like this:
on preOpenCard
set the rect of this cd to 200,200,800,600
end preOpenCard
Put this in the card scripts and have a different rectangle specified for each card.
I don't know what your interface design is like, but you might create a button with the following script:
on mouseUp
put the selection after fld 1 of cd 2
end mouseUp
Best,
Mark
You might want to use substacks of different sizes. You could also make a script like this:
on preOpenCard
set the rect of this cd to 200,200,800,600
end preOpenCard
Put this in the card scripts and have a different rectangle specified for each card.
I don't know what your interface design is like, but you might create a button with the following script:
on mouseUp
put the selection after fld 1 of cd 2
end mouseUp
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode