Skip to Content
avatar image
Former Member

Get the name of the event

Hi Experts,

I need to differentiate between actions being triggered from 3 buttons on my view , when i use the get_name method of the wdevent parameter in my event handler i get the same returning parameter from all the 3 i.e "ON_ACTION" and the get_string method in the same class needs an importing parameter which i am not sure of.

Please advice me as to how i can get differentiate between the 3 actions like may be get the name of the method i.e "EDIT" or "CHECK" ...

Thanks In Advance,

Chaitanya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 22, 2009 at 11:34 AM

    Hi, Using the following code, you can get the id of the button that is clicked

    data: id type string.
     " get button id
      id = wdevent->get_string( 'ID' ).
    Regards, Radhika.

    Add comment
    10|10000 characters needed characters exceeded