Gadgets and Their Attributes
- Last UpdatedOct 27, 2022
- 2 minute read
You are already 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 |
Displays multi-line text for information. |
|
BUTTON |
Act as visual buttons and are pushed to achieve some action. The buttons like OK, CANCEL, 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 |
A combination of a drop-down list and a single line text box. |
|
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 |
A two state (boolean) gadget, with states representing on/off or true/false. You can have several toggles on a form and they act independently of one another. |
|
RTOGGLE |
A two state gadget similar to a TOGGLE, but acts together with other RTOGGLE gadgets within the same frame, as a radio group with a single selection. It is valid to have no RTOGGLE selected. |
|
OPTION |
Has a pull-down list of options associated with it, from which you can choose one only. |
|
LIST |
Displays one or more lines of data from which you 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 you can choose. |
|
TEXT |
A text-box where you can type a line of text, copy or paste, and so on. |
|
TEXTPANE |
An area where you 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. |