"number";

Sets or gets the n-th radio box element.

Synopsis

setValue(string shape, "number", int n);

getValue(string shape, "number", int &n);

shape.number(int n);

Parameters

Parameter Description
shape Name of the object
n Status of the selected element, starting at 0

Description

This attribute is used to set or read the selected element option of an option box.

Example

Displays the selected option in the log viewer.

main()
{
  DebugN(RADIO_BOX1.number());
}

Assignment

Radio box