Page 1 of 1

2 Questions about cards and values

Posted: Tue Nov 14, 2006 3:07 am
by tm1274
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?

Posted: Tue Nov 14, 2006 10:48 am
by Mark
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