The caller keyword
If you want to refer to an event target in a script, you can use the caller keyword. For example:
....
event: function(event, options, caller) {
//Custom script
doSomething( caller )
},
...
The caller keyword is left here for backwards compatibility with older USoft versions. Usually, you can suffice with the this keyword to directly refer to the calling object that triggered the event.
Sometimes however (especially with data-source triggered events), the value of this may differ from caller: e.g. in a showdata event, this may refer to the control, while caller is the data source that triggered it. These values however can also be derived from the event object, i.e. by using event.currentTarget and event.target objects.