Panels
Panels are global objects that are typically used to create toolbars for form components and application shells. They contain buttons to execute structure editor functions and activate component operations.
The appearance of a panel depends on GUI, and on how it is used by a form or application shell:
- Form panel—a panel that is displayed whenever
the form is displayed.
A form panel can contain buttons that activate operations in the form. If the operation specified in the panel does not exist in the form, the button is disabled.
Note: Operation buttons are not displayed if the panel is used as a pop-up panel .
- Session panel—a panel that is displayed for the duration of the application session, irrespective of any other panel definitions made in the application or the current form. The session panel can be invoked from, but is not part of, the application window or component.
- Pop-up panel—a panel that is displayed when the right mouse button is pressed. It is specified by the Panel property in an application shell.
Buttons in a panel can be grouped by separators and can be arranged into multiple rows.
On Windows platforms, the appearance of panels is also determined by settings in the initialization file. You can choose a predefined style that determines the colors, borders, and appearance of panels, or you can control these properties yourself.