Hello everybody!
I wanna trigger a function on a control based on the argument passed to of_Edit_Action function.
Public Function Long of_Edit_Action(ReadOnly String as_Action)
/*
The as_Action variable can hold values like "copy", "cut", "paste", "clear"
*/
/* Before runnig this sentence, I validate that the control
has the function specified on as_Action, declared in its class definition */
If Not of_Function_Exists(... /* I know how to do this! */
/* But, then, I want to do something like this: */
GetFocus().TriggerFunction(as_Action)
End Function
My question is:
Is it possible to do something like that?
Thanks in advance.
I wanna trigger a function on a control based on the argument passed to of_Edit_Action function.
Public Function Long of_Edit_Action(ReadOnly String as_Action)
/*
The as_Action variable can hold values like "copy", "cut", "paste", "clear"
*/
/* Before runnig this sentence, I validate that the control
has the function specified on as_Action, declared in its class definition */
If Not of_Function_Exists(... /* I know how to do this! */
/* But, then, I want to do something like this: */
GetFocus().TriggerFunction(as_Action)
End Function
My question is:
Is it possible to do something like that?
Thanks in advance.