Toolbar Button Editor


 

The Toolbar Button Editor allows maintenance of buttons associated with a toolbar. The editor consists of two lists and nine buttons.

 

Before working with the editor, it is generally best to associate any user defined imagelists needed to the toolbar. This will simplify the image index association process as buttons are defined. If no imagelists are defined, the runtime's default imagelist is used.

 

The edit window may be resized and a splitter is available to allow resizing the buttons list.

 

toolbutton.jpg

 

Editor Lists
The list on the left side of the editor shows any defined buttons and their assigned images. The list on right shows the selected button's properties. The selected button is highlighted in the left hand list titled "Buttons" and may be changed by clicking the desired button name
OK
The OK button signals that modifications to the toolbar are complete and the toolbar is updated. The editor is then closed.
Cancel
The Cancel button indicates that any modifications to the toolbar should be discarded and the editor closed.
Add
The Add button inserts a new button into the toolbar. The button name defaults to TB{nn} where {nn} is a sequential value.
Remove
The Remove button deletes the selected button from the toolbar. The selected button is highlighted in the left hand list titled "Buttons".
Load
The Load button allows selection of a previously saved set of button definitions. The Load/Save feature allows the definition of a toolbar that can then be used in multiple forms promoting consistency and speeding form creation. Note that upon selecting the Load function, any previously defined toolbar buttons are removed before the new buttons are added.
Store
The Store button saves the current set of toolbar button definitions. Once selected, the user is prompted for a unique name to identify the definition set. The toolbar buttons are then saved for future use in other forms.
Help
The Help button displays this page in a new window.
Up and Down
The Up and Down Arrow buttons located between the two lists of the editor allow the order of the selected button to be changed.

 



about_designer TabControl Panel Editor Treeview Node Editor