Altova StyleVision 2025 Enterprise Edition

AuthenticView.OnToolbarButtonExecuted

Home Prev Top Next

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-2024 Altova GmbH