Notifications
Clear all
[Closed] on rollout open do — system exception
Nov 14, 2012 1:59 am
Hi
just silly problem , I keep getting ** system exception ** “thats the error keep saying no more info”
when i use “on rollout open do “anything”
u can try it
(--begin
on Main open do
(
print "Test , I'm in"
)--end on open
rollout test "test"
(
button but1 "ttttttt" width:112 height:24
)--end roll test
if Main != undefined then CloseRolloutFloater Main
Main = NewRolloutFloater "anything" 250 650
addRollout test Main
)--end all
do I have to to convert it to a utility script ?
I think cause of its rolloutfloater , anyway around that ?
I need script to be excuted on open and i got multi rollouts
thanx
3 Replies
Nov 14, 2012 1:59 am
I’m glad you found a solution. But just to clear up the issue with your first post.
Main is a RolloutFloater, not a rollout. On Rollout Open needs to be used inside of a rollout.
rollout test "test"
(
button but1 "ttttttt" width:112 height:24
on test open do
(
print "Test , I'm in"
)
)