Button bar
copy linkA Button bar is a container of command objects that is displayed as a graphic element of a form, representing the commands it contains as buttons.
Properties
Name: represents the logical name of the button bar, as it will be identified within the Instant Developer project.
Description: contains a description of the button bar and the commands it contains, and is used to compose the user manual.
Caption: used as the caption of the button bar. It is normally left blank, in which case the Name property will be used.
Visible: if set, the button bar will be visible in the web interface.
Enabled: if set, the button bar will be enabled in the web interface. Otherwise, none of its commands can be used.
Visual properties: these flags enable or disable certain features of the button bar.
- Use small icons: if set, the button bar commands will display icons that are smaller than normal. It is useful for creating button bars that take up little space.
Minimum size W: the minimum width the button bar will resize to when the form reduces its width.
Minimum size H: the minimum height the button bar will resize to when the form reduces its height.
Maximum size W: the maximum width the button bar will resize to when the form increases its width.
Maximum size H: the maximum height the button bar will resize to when the form increases its height.
Fixed width: setting this flag causes the button bar's width to remain unchanged when the form's width is resized.
Fixed height: setting this flag causes the button bar's height to remain unchanged when the form's height is resized.
Hide frame: if set, only the button bar's contents will be displayed and not its caption bar.
Code: the name of the variable representing the button bar within the source code. Changing this property is not recommended.
Automatic: if set, specifies that the Code property will be automatically calculated and disambiguated based on the name of the button bar. Changing this option is not recommended.
Context menu
Add command: adds a new command to the button bar. To create new commands, you can also drag&drop forms or procedures without non-nullable parameters onto the button bar.
Add separator: adds a space between buttons as a separator.
Add formula: adds a formula that will be automatically recalculated to declaratively set one of the properties of the button bar. This applies if the formula depends on fields of single-row tables of the in-memory database.
Add folder: adds a folder inside the button bar, which will have no impact on the application, but can be used to better organize the objects in the button bar.
Add task: creates a new task object linked to the button bar. It serves as a reminder for future changes or to manage group work.
Find derived objects: searches for all objects in the project derived from the button bar, including at multiple levels.
Find where used (object): searches for all points in the project where this button bar is directly referenced in any way.
Find where used (content): searches for all points in the project where this button bar or one of the objects it contains is directly referenced in any way.
A button bar can be dragged and dropped onto a/an...
Command Set: for command sets of the toolbar type, sets the button bar as a container for the command set.
Other objects in the form: changes the order of objects in the project, moving the dragged button bar above the target object.
Folder: if the folder is at the same level as the button bar, moves the dragged button bar into the target folder.
if the folder is at the same level as the button bar, changes the order of objects in the project, moving the dragged button bar above the target folder.
if the folder is at the same level as the button bar, places a copy of the dragged button bar inside the target folder.
if the folder is at the same level as the button bar, positions a copy of the dragged button bar before the target folder.
Changed on: 15/12/2022 / From version: 8.5.3800