OnToolbarButtonClicked
Evento: OnToolbarButtonClicked (identificador de botón)
Descripción: OnToolbarButtonClicked se desencadena cuando el usuario hace clic en un botón de una barra de herramientas. El parámetro identificador del botón ayuda a determinar en qué botón se hizo clic. A continuación puede consultar la lista predefinida de identificadores de botón:
•AuthenticPrint
•AuthenticPrintPreview
•AuthenticUndo
•AuthenticRedo
•AuthenticCut
•AuthenticCopy
•AuthenticPaste
•AuthenticClear
•AuthenticMarkupHide
•AuthenticMarkupLarge
•AuthenticMarkupMixed
•AuthenticMarkupSmall
•AuthenticValidate
•AuthenticChangeWorkingDBXMLCell
•AuthenticSave
•AuthenticSaveAs
•AuthenticReload
•AuthenticTableInsertRow
•AuthenticTableAppendRow
•AuthenticTableDeleteRow
•AuthenticTableInsertCol
•AuthenticTableAppendCol
•AuthenticTableDeleteCol
•AuthenticTableJoinCellRight
•AuthenticTableJoinCellLeft
•AuthenticTableJoinCellAbove
•AuthenticTableJoinCellBelow
•AuthenticTableSplitCellHorizontally
•AuthenticTableSplitCellVertically
•AuthenticTableAlignCellContentTop
•AuthenticTableCenterCellVertically
•AuthenticTableAlignCellContentBottom
•AuthenticTableAlignCellContentLeft
•AuthenticTableCenterCellContent
•AuthenticTableAlignCellContentRight
•AuthenticTableJustifyCellContent
•AuthenticTableInsertTable
•AuthenticTableDeleteTable
•AuthenticTablePropiedades
•AuthenticAppendRow
•AuthenticInsertRow
•AuthenticDuplicateRow
•AuthenticMoveRowUp
•AuthenticMoveRowDown
•AuthenticDeleteRow
•AuthenticDefineEntities
Además el usuario puede añadir identificadores para sus propios botones. Es necesario tener cuidado al añadir identificadores porque no se comprueba si son únicos. Se pueden usar los mismos identificadores para identificar los botones de las llamadas Set/GetToolbarState() de la API de COM. Si añade código para cada botón, el usuario tiene la posibilidad de redefinir completamente el comportamiento de la barra de herramientas VistaAuthentic, añadiendo métodos propios para la manipulación de tables, etc.