<< Prev        Next >>

ID : 1911

Numerical Input Button

Numerical Input Button is to input numerical data on the display.

The numerical input button control has a value ("Value" property) and the value is retained during the task.

The input dialog of the value displays the dialog along with "Style" property.

Numerical Input Button Event

Event Description
CLICKED Button pressed
RELEASED Button released
DONE [OK] pressed

Numerical Input Box 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

Style Integer

Display style and data type settings

  • 0 - 2D : Integer
  • 1 - 3D : Integer
  • 2 - 2D(Hex) : Integer (Hexadecimal / Input)
  • 3 - 3D(Hex) : Integer (Hexadecimal / Input)
  • 4 - 2D(Real) : Real Number (Double-precision real)
  • 5 - 3D(Real) : Real Number (Double-precision real)
Caption String -
FName String

Font name

The font with * is installed on the robot controller

FSsize Integer Font size
Justify Integer

Caption positioning

  • 0: Centered
  • 1: Right-justified
  • 2: Left-justified
Value Double Default value of the numerical input box

Precaution for "Style" Property

When "Style" property of the program is changed, the value of the "Value" property is changed accordingly. Therefore, when the "Style" is double-precision real type and retains the number outside the integer range, you cannot change the "Style" property to the "Integer". Doing so, it causes an error.

ID : 1911

<< Prev        Next >>