I have a handler with a repeat loop that steps thru a list of button
IDs.
The first time I set the menuhistory of one of these buttons, the
repeat loop and the entire handler exits to top without completing.
Found the answer. Instead of:
repeat with x = 1 to 4
set the menuhistory of btn ("myBtn" & x) to someNumber
end repeat
which will exit to the top as soon as myBtn1's menuhistory is set,
leaving the remaining buttons unset, try good old send:
repeat with x = 1 to 4
send "set the menuhistory of btn" && ("myBtn" & x) to someNumber
end repeat
Jim Lambert
_______________________________________________
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