highlight a button in standalone+.rev app

Malte Brill revolution at derbrill.de
Fri Jul 1 05:22:25 EDT 2005


Hi Bob,

you need to take care that you don´t run into the scriptlimits 
limitation. If you set the script of a button on the fly in a 
standalone, that script will be limited to 10 transcript statements.

What you can do is have all needed script in the card or stack script. 
Then set a customproperty of the button to the name of the handler you 
want to call.

e.G have a cProp called myScript that is set to myCoolHandler

in the button have only this script:

on mouseUp
   send the myScript of me to me
end mouseUp

This will tigger the handler myCoolHandler in your card/stack

Hope that helps,

Malte



More information about the use-livecode mailing list