Im testing the callbacks function, but, I cant do a simple text change in a rollout.
Here, the idea is to press animate on button, to change the label text in the rollout. Check it out:
rollout unnamedRollout "A Test"
(
label lab "this is a test..."
)
createdialog unnamedrollout
callbacks.removeScripts #animateOn
a="the test is ok"
callbacks.addScript #animateOn "et.text=a"
Is impossible to do that type of operation?
Comments
afair callbacks operate on a
afair callbacks operate on a global level so simple solution:
make the rollout global, add a function inside the RO (after your UI controls and other functions and handlers) and put in there what you want it to do
when you do this later on make sure to make the global var something long and specific so it wont get overwritten by others and also doesnt overwrite other vars
Raphael Steves