Toolbar Frames
- Last UpdatedOct 26, 2022
- 1 minute read
Main forms support the notion of User-defined toolbars (refer to Modules and Applications). You can create these using toolbar frames.
The frame type TOOLBAR allows you to define formal toolbars that contain all the gadgets within the frame’s scope.
A toolbar frame can contain only a subset of gadget types: BUTTON, TOGGLE, OPTION, TEXT, COMBOBOX, SLIDER and NUMERICINPUT. It must have a name and can appear only on main forms; moreover, a toolbar frame is the only kind of frame a main form can contain.
The frame gadget’s visibility attribute allows you to show and hide toolbars, as well as individual gadgets within the toolbar.
Note:
Any gadgets belonging to a main form and defined outside of a formal toolbar frame
definition are interpreted as a default toolbar with the name 'Default'.
Note:
Toolbar frames can be used only in modules with a main menu bar. They are not available
in modules with tabbed menus.