CREATE RADIO
PLBCMP GUI Only
The CREATE RADIO statement initializes a RADIO 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.
radio
Required. The name of a previously defined RADIO object variable or pointer to a RADIO object.
pos
Required. The screen position of the object given as: {top}:{bottom}:{left}:{right}.
name
Required. A Character String Variable or Literal defining information that is placed beside the object.
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.
The Logical String of the {name} character variable or character literal is the button's caption. An Alt Keyboard Sequence of the radio button is allowed by placing an "&" character in the {name}. That is, "H&alt" would define the name of the radio button as "Halt" and the Alt+A keyboard combination would select this radio button.
If the optional {parent} parameter is not specified, the default window is used.
The SETMODE *SUBTABFORENTER control alters the ENTER key behavior of a RADIO.
See Also: Example Code, CREATE, Object Output Instructions
![]() |