OWBasic for Pocketviewer

Home INTRO Group FORM Alphabetical Index

Change Status of Form Element

FORMSETSTATUS sel%,bits%
FORMRESETSTATUS sel%,bits%

The status of a form control may be changed by setting and resetting bits in the status. Called with the selector and the values for the bits the procedure FORMSETSTATUS sets the bits, FORMRESETSTATUS resets the bits. You can combine the values of all bits you like to set or reset.
BitvalueMeaning
1Control selected
2No frame
4Double frame
8Grayed (inactive)
16Hidden
32Left aligned
64Button frame
128No button-like touch behaviour

Make sure to preserve the consistency of the controls, e.g. don't "select" two radiobuttons of a group!


Home INTRO Group FORM Alphabetical Index