PDA

View Full Version : Do you know what's 'this' is?


Stefan_M
02-14-2005, 12:57 PM
Simplify your ...

Four Buttons, One Global Function,one Labelobject and four different Strings
Every Button contains the same Global function.
Button 'On Click' the Buttonname will displayed in the Label Object.
If you want more Buttons, simply copy one them and give him a new name.
Thats all.


'this' is a string containing the name of the object or page where the event is located.


Stefan_M

longedge
02-14-2005, 01:56 PM
A nice demo of this. I'll have to remember how to use this :)

JimS
02-14-2005, 07:30 PM
Good one Stefan, 'this' is easy to overlook.