TE Edit Control Java / HTML-JavaScript Help
Product page

Action

This event is sent after an user initiated action is completed.

void Action(TejEvent ev)
{
   // example: Do something when the open toolbar button is clicked
   if (ev.ActionType = tej.ACTION_COMMAND 
                && ev.ActionId = tej.ID_OPEN) {
      ...
   }
}

The relevant TejEvent fields:

int ActionType:  Action Type
int ActionId: Action Id

Please refer to the the Preprocess event for the description of the ActionType and ActionId parameters.