Left
A
Number representing the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Changes made to the Width and Left property values cause the Right property value of the control to change.
Type:
NumberExample:
x = TouchScreen.myControl.Left;
TouchScreen.myControl.Left = 100;
Right
A
Number representing the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
The value of the Right property is equal to the sum of the Left property value and the Width property value.
The Right property is read-only. You can change this property value indirectly by changing the value of the Left or Width properties
Type:
NumberExample:
x = TouchScreen.myControl.Right;
Top
A
Number representing the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
Changes made to the Height and Top property values cause the Cottom property value of the control to change.
Type:
NumberExample:
x = TouchScreen.myControl.Top;
TouchScreen.myControl.Top = 100;
Bottom
A
Number representing the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
The value of the Bottom property is equal to the sum of the Top property value and the Height property value.
The Bottom property is read-only. You can change this property value indirectly by changing the value of the Right or Height properties
Type:
NumberExample:
x = TouchScreen.myControl.Bottom;
Height
The height of the control in pixels.
Changes made to the Height and Top property values cause the Bottom property value of the control to change.
Type:
NumberExample:
x = TouchScreen.myControl.Height;
TouchScreen.myControl.Height = 100;
Width
The width of the control in pixels.
Changes made to the Width and Left property values cause the Right property value of the control to change.
Type:
NumberExample:
x = TouchScreen.myControl.Width;
TouchScreen.myControl.Width = 100;
Visible
A value indicating whether the control (and all its child controls if applicable) are displayed.
Type:
BooleanExample:
x = TouchScreen.myControl.Visible;
TouchScreen.myControl.Visible = false; // hide the control
Refresh()
Refreshes the control by updating any values such as text, etc.
Syntax:Example:
TouchScreen.myControl.Refresh();