Semi important discovery relating to OnEvents:
When you have an OnEvent property, all actions on the same line within the OnEvent execute in order from right to left. If you add line returns within the OnEvent, they go from top to bottom, with commands on individual lines (if you have more than 1 on some lines) still execute from right to left. Examples follow:
OnPress="x=3 x=2 x=1"
In this event, x would equal 3.
OnPress="x=3
x=2
x=1"
In this event, x would equal 1.
OnPress="x=3
x=2 x=1"
In this event, x would equal 2.
I think that's simple enough. Just adding to our knowledge base.
Quib
|