global test
Rollout test "cap1"
(
Spinner s1 "cap2"
)
-- createdialog test
rollout test1 ""
(
subrollout asdf width:140 height:100
button asd""
on asd pressed do ------does not work
(createdialog test)
)
createdialog test1
AddSubRollout test1.asdf test
Why does not consist of rollout asd?
By
Comments (5)
Comment policy
I do not know too much english
Would you help with code sample or in my code?
its not a subrollout problem
i hope this code to help to see the problem
true my problem is not subrollout
my problem, new test windowdialog does not open when I press the button asd
What Anubis tried to show you is that you can't copy rollouts like this, it's just a pointer to the exact same rollout. Instead of seeing that both
and
return true when you create dialog using one of them, you can just as well use
to check that. You'd either have to use rolloutcreator or just define two distinct rollouts yourself.
I do not know too much english
Would you help with code sample or in my code?