Directions assigned to method parameters:
(I) |
Input |
(O) |
Output |
(I/O) |
Input and Output |
Important: This method is no longer used. It is recommended to use the SET_BUTTON_TEXT method.
Replaces the text in the radio button RadioButtonNum with the text in TextString.
The value of the parameter RadioButtonNum must be higher than or equal to 1.
Syntax | |
CALL_METHOD NameRadioButtonListObject CHANGE_RADIO_BUTTON_TEXT RadioButtonNum TextString |
|
Parameters |
|
RadioButtonNum |
NUM_BIN_4 type |
TextString |
ALPHA(250) type |
Conditions for use |
None |
Returns the tooltip text for radio button number ButtonNum.
The ButtonNum parameter must have a value between one and the number of buttons in the list, inclusive.
Syntax | ||||||||||||
CALL_METHOD ObjectName GET_BUTTON_TOOLTIP_TEXT ButtonNum TooltipText ReturnCode |
||||||||||||
Parameters |
||||||||||||
ButtonNum (I) |
NUM_BIN_2 |
Button number. |
||||||||||
TooltipText (O) |
ALPHA(n) |
Tooltip text. |
||||||||||
ReturnCode (O) |
NUM_BIN_4 |
Return code for the method. Possible values:
|
Sets the text for the radio button with number ButtonNum.
The value of the parameter ButtonNum must be higher than or equal to 1 and lower than or equal to the number of buttons in the list.
Syntax | |||||||||
CALL_METHOD RadioButtonList SET_BUTTON_TEXT ButtonNum Text ReturnCode |
|||||||||
Parameters |
|||||||||
ButtonNum |
NUM_BIN_2 type. |
||||||||
Text |
ALPHA(n) type. |
||||||||
ReturnCode |
NUM_BIN_4 type. Possible values:
|
||||||||
Conditions for use |
None |
Sets the tooltip text for radio button number ButtonNum.
The ButtonNum parameter must have a value between one and the number of buttons in the list, inclusive.
Syntax | ||||||||||||
CALL_METHOD ObjectName SET_BUTTON_TOOLTIP_TEXT ButtonNum TooltipText ReturnCode |
||||||||||||
Parameters |
||||||||||||
ButtonNum (I) |
NUM_BIN_2 |
Button number. |
||||||||||
TooltipText (I) |
ALPHA(n) |
Tooltip text. |
||||||||||
ReturnCode (O) |
NUM_BIN_4 |
Return code for the method. Possible values:
|
Sets the value of the radio button with number ButtonNum.
The value of the parameter ButtonNum must be higher than or equal to 1 and lower than or equal to the number of buttons in the list.
If the radio button list type is not numerical (i.e. if it is not extended, packed or stored on 2 or 4 bytes), the variable containing the value to be set must be the same type as the list.
With numerical lists, it must be possible to represent the value set as a parameter using the numerical type of the list.
Syntax | |||||||||
CALL_METHOD RadioButtonList SET_BUTTON_VALUE ButtonNum Value ReturnCode |
|||||||||
Parameters |
|||||||||
ButtonNum |
NUM_BIN_2 type. |
||||||||
Value |
Type consistent with the list. |
||||||||
ReturnCode |
NUM_BIN_4 type. Possible values:
|
||||||||
Conditions for use |
None |
Places the focus on the object.
Syntax | |
CALL_METHOD NameRadioButtonListObject SET_FOCUS |
|
Conditions for use |
None |