Codecore Logo
Quick Search
»
Advanced Search »

Touch Screen InnerTouchScreen Control

RSS
An inner touch screen control is used to display a separate touch screen within the current touch screen. This allows nesting of touch screens within each other. The touchscreen shown in the control can be changed for example when a button is pressed in the current touchscreen.

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: Number

Example:


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: Number

Example:


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: Number

Example:


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: Number

Example:


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: Number

Example:


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: Number

Example:


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: Boolean

Example:


x = TouchScreen.myControl.Visible;

TouchScreen.myControl.Visible = false; // hide the control

Refresh()

Refreshes the control by updating any values such as text, etc.

Syntax:

void Refresh( )

Example:

TouchScreen.myControl.Refresh();


TouchScreenName

The name of the touch screen displayed within the control.

Setting this property causes the touch screen that is currently displayed in the control to be unloaded and the specified touch screen to be loaded and displayed.

Type: String

Example:


name = TouchScreen.myInnerTS.TouchScreenName;

TouchScreen.myInnerTS.TouchScreenName = "AnotherTouchScreen";
Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.