Gadgets and their Attributes
- Last UpdatedJan 09, 2024
- 2 minute read
As a user, you will already be familiar with forms and their gadgets. The types of gadgets that you can define on the body of the form are summarized below.
|
Gadget |
Purpose |
|---|---|
|
FRAME |
A container that groups other gadgets visually and logically. It also acts as a radio group for all directly included RTOGGLE gadgets. |
|
PARAGRAPH |
Display-text, for information. |
|
BUTTON |
Act as visual buttons and are pushed to achieve some action. The buttons like OK and Apply, which appear on many forms, are examples of a special type of button, which use form control attributes to control the display of the form and whether it is actioned. |
|
COMBOBOX |
Similar to a Window Combobox. A combination of a dropdown list and a single line textbox. |
|
LINE |
Allows horizontal and vertical lines to be drawn on a form to assist visual grouping of gadgets. |
|
NUMERIC INPUT |
Allows numeric input within a specific range. |
|
TOGGLE |
These gadgets have just two settings: on or off. You can have several TOGGLE gadgets on a form, and they will normally all be independent. |
|
OPTION |
Has a pull-down list of options associated with it, from which the user can choose one only. |
|
LIST |
Displays one or more lines of data from which the user can select one or several. The list can be scrollable if there are too many options to be displayed at once. |
|
CONTAINER |
Allows the hosting of an external control inside a PML defined form. |
|
DATABASE SELECTOR |
Used to display a list of database elements, from which the user can choose. |
|
TEXT |
A text-box where the user can type input. |
|
TEXTPANE |
An area where the user can type and edit multiple lines of text, or cut and paste text from elsewhere on the screen. |
|
VIEW |
Used to display alphanumeric or graphical views. There are several different types, used for displaying different types of information. |
|
SLIDER |
The SLIDER gadget allows you interactively to generate values in a specified range, at specified steps. PML supports both vertical and horizontal SLIDERS. |
|
RTOGGLE |
A FRAME may have a set of RTOGGLE gadgets defined directly within it which act in concert as a radio group. |