Hi,
I have a stack with two cards. There are 4 Common Background Groups
and one Group that is unique in each card. At startup I build a
look-up table (array) which uses the long name of each control as a
key. Once the stack is running the code looks up values for certain
fields and menu's using the long name of the current control to
access the table/array.
I use the following to build the table at startup:
repeat with myCardIndex = 1 to the number of cards in stack myStackLongName
repeat with myControl index = 1 to the number of controls in card
myCardIndex of stack myStackLongName
put the long name of control myControlIndex into myControlLongName
put GetControlData(myControlLongName) into myControlData
put myControlData into myControlArray[myControlLongName]
end repeat
end repeat
The problem with this is that for background I only get one entry
returned (the entry of the 1st card in the stack), so that the
following doesn't work when run from a card other than the 1st card:
put LookUpControl(the long name of me) into myControlData
How can I add the entries for background object on cards other than
the 1st card?
Thanks a lot
All the Best
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution