OnToolbarButtonExecuted

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Reference > Objects > AuthenticView > Events >

OnToolbarButtonExecuted

Event: OnToolbarButtonExecuted (Button identifier)

 

Description: OnToolbarButtonClicked is fired when a toolbar button was clicked by user. The parameter button identifier helps to determine which button was clicked. See the list of predefined button identifiers.

 

OnToolbarButtonExecuted is fired after the toolbar action was executed. It is useful e.g. to add update code, as shown in the example below:

 

//event fired when a toolbar button action was executed

function On_AuthenticToolbarButtonExecuted( varBtnIdentifier )

{

       // After whatever command user has executed - make sure to update toolbar button states

       UpdateOwnToolbarButtonStates();

}

 

In this case UpdateOwnToolbarButtonStates is a user function defined in the Global Declarations.


© 2018 Altova GmbH