Directs a variable-related function or a task generation related function to the variable or task from which an event was triggered. A raised event may be handled by a handler of a higher level task. In such a case the data view and the runtime tree below the handler's task level are not available.
|
Syntax:
|
THIS()
|
Parameters:
|
None
|
Returns:
|
The index of a variable from which an event was raised or the generation of the task from which the event was raised.
|
Examples:
|
VarCurr(THIS()), returns the current value of the variable from which the handled event was raised.
Stat(THIS(),'C'MODE) returns a value for true if the task from which the handled event is raised in create mode.
|
Exceptions:
|
|
See also:
|
The Online and Rich Client Samples projects (program EN07 and REN07)
|