CREATE RADIOGRP
PLBCMP GUI Only
The CREATE RADIOGRP statement initializes a RADIOGRP object variable. The statement format is:
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
parent
Optional. A previously created WINDOW or PANEL object variable or pointer to a WINDOW or PANEL object on which the object is created.
radiogrp
Required. The name of a previously defined RADIOGRP object variable or pointer to a RADIOGRP object.
pos
Required. The screen position of the object given as: {top}:{bottom}:{left}:{right}.
data
Required. A Character String Variable or Literal containing a list of names of the controls.
property list
Optional. One or more of the object properties.
Flags Affected: NONE
Note the following:
The {pos} screen coordinates for the object must be given and must be valid. Each of the coordinates may be a Numeric Variable, an Expression, or a decimal constant.
Each name in {data} is separated from the preceding name by a semi-colon (;). Item numbers for the radio buttons are assigned sequentially to the names starting with one (1).
When tabbing into a RADIOGRP, the cursor goes to the active radio button if there is one. Otherwise, the group is skipped.
When the cursor is in a RADIOGRP, the UP, DOWN, LEFT, and RIGHT arrow keys cause the cursor to move between the various radio buttons of the group.
If the optional {parent} parameter is not specified, the default window is used.
See Also: Example Code, CREATE, Object Output Instructions
![]() |