<< Prev        Next >>

ID : 1917

Radio Button

Radio button is a control to ask user to select one from multiple options.

Create controls to the number of the options.

In order to distinguish other groups, each group has a unique "Group" property number.

When OFF state option is selected, the option turns ON, and other options in the same group turn OFF.

When ON state option is selected, nothing happens.

Radio Button Event

Event Description
CLICKED Button pressed
RELEASED Button released

Radio Button Property

Property Name Data Type Description
Name String Parts name
PacScript cannot rewrite this property
Type Integer Parts name
PacScript cannot rewrite this property
X Integer X coordinates of the upper left corner of the drawing region
Y Integer Y coordinates of the upper left corner of the drawing region
Width Integer Width of the control(pixel size)
Height Integer Height of the control(pixel size)
FG Integer Foreground color
BG Integer Back color
Group Integer Group number to which part belongs
Active Integer

Visible / Invisible and Enable / Disable settings

active settings

Style Integer Display style
Caption String Display text
FName String

Font name

The font with * is installed on the robot controller

FSize Integer Font size
Justify Integer

Caption positioning

  • 0: Centered
  • 1: Right-justified
  • 2: Left-justified
State Integer ON/OFF state

Precautions for Radio Button

If two or more "State" properties are "1" (ON state) in the same group, it may not work property.

For only one option, use "Check Box".

ID : 1917

<< Prev        Next >>