X and Y
The X Control Object property allows the script to set the X-Axis coordinate of the Control Object, and the Y Control Object property allows it to set the Y-Axis coordinate.
Syntax |
ControlObject.X = Number or ControlObject.Y = Number Where ControlObject is the name of the control object that you are positioning and Number is the number for the coordinate. |
Description |
Sets the position of the Control Object on the X-Axis (horizontal positioning) or Y-Axis (vertical positioning) |
Arguments |
ControlObject {string} The name of the Control Object that you want to position.
Number {integer} The number for the X-Axis or Y-Axis coordinate. |
Returns |
Integer. |
Example:
AlarmButton.X = 10
This would position the control named AlarmButton at X coordinate 10.