Is there a way a method can detect which button is pressed?
I want to do something like this:
If (button1 is pressed)
//do this
If (button2 is pressed)
//do that
TIA
Ron
Is there a way a method can detect which button is pressed?
I want to do something like this:
If (button1 is pressed)
//do this
If (button2 is pressed)
//do that
TIA
Ron
application.getMethodTriggerElementName() returns the name of the element that triggered a method. So if your button is named (name property is filled) and that name is unique on the form, then you can use this.
Hope this helps.
Thanks Patrick I will try it.
regards,
Ron