Selectors for Elements of Forms
Each control of a form is addressed by it's selector. The selector is an integer number consisting of two parts: The main part - a multiple of ten and a minor part the remainder.
Example:
Selector | Main part | Minor part |
152 | 15 | 2 |
30 | 3 | 0 |
Each independend control has to have a main part different from each other. The minor part is used for returning special values for the status of complex controls:
Control | Minor part of selector |
CheckButtons | 1 - checked |
CheckButtons | 0 - not checked |
RadioButton | Code of the selected option |
Buttons return that minor part used by creation with FORMENTRY.
|