I have about 60 Buttons i have to loop through. How can i shorten the following Code?
Strange block colour scheme, which variant of AI2 is that ?
Anyway:
Its the standard
Well i already know your recommendation, but that doesnt help me further, because my problem is about the "when .....Button.click" - i havent found a
"
when Button.Click
of Component
" - Block
Thx, i just didnt understand the anyButton event but now i do.
Solution:
The notAlreadyHandled value lets you add other button Click events like btnQuit, that you want to handle differently.
So your any Button.Click event would read
if notAlreadyHandled then
set Button.Text of component to ...
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.