Define control element of a form
FORMENTRY text$, x1%,y1%,x2%,y2%, type%, sel% [, status%, font%]
Defines a new control (button, checkbox, radiobutton) for the current form. The parameters x1,y1,x2,y2 define the area where the control is displayed. The string text is displayed centered as name of the control. If the first character of text is '#' then the following number is interpreted as number of the internal graphic ( IGRAPH), which is display as control.
Element | type | Meaning |
Button | 0 | Start an action |
CheckBox | 1 | (de-)activate an option |
RadioButton | 2 | select one of multiple options |
user-defined entry | >=64 | |
The given selector is used for signalling the touch of the control during FORMTOUCH. If sel is -1, the element is drawn only.
status gives the initial status , font specifies the text font to be used.
|