OWBasic for Pocketviewer

Home INTRO Group FORM Alphabetical Index

Define control element of a form

FORMENTRY text$, x1,y1,x2,y2, type, selector

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.

ElementtypeMeaning
Button0Start an action
CheckBox1(de-)activate an option
RadioButton2select one of multiple options

The given selector is used for signalling the touch of the control during FORMTOUCH.


Home INTRO Group FORM Alphabetical Index