Keyboard
A keyboard is an on-screen keyboard that can be used for input without a hardware keyboard.
The Layout attribute can be used to select different layouts.
Version 1.12
From version 1.12 keyboard layouts are added to the TwinCAT HMI project via a wizard and can then be used via the attribute LayoutFile.
The attribute Layout is considered obsolete and should no longer be used.
See also: Configuration guide
Attributes
Category: Colors
Name |
Description |
---|---|
Definition of the text color of the keys | |
Definition of the outline color of the graphic key characters | |
Definition of the fill color of the graphic key characters | |
Definition of the background color of the keys | |
Definition of the background color of the window in which the additional characters for the compact layouts are displayed | |
Definition of the background color | |
Definition of the border color of the control |
Category: Layout
Name |
Description |
---|---|
Definition of the distance from the left side to the left side of the surrounding control | |
Definition of the unit of the distance to the right side of the surrounding control:
| |
Definition of the distance from the top side to the top side of the surrounding control | |
Selection of the unit of the distance to the top side of the surrounding control:
| |
Definition of the distance from the right side to the right side of the surrounding control | |
Selection of the unit of the distance to the right side of the surrounding control:
| |
Definition of the distance from the bottom side to the bottom side of the surrounding control | |
Selection of the unit of the distance to the bottom side of the surrounding control:
| |
Definition of the external width of the control | |
Selection of the unit of the width:
| |
Definition of the external height of the control | |
Selection of the unit of the height:
| |
Definition of the maximum width if the control size is defined as dynamic. | |
Selection of the unit of the maximum width:
| |
Definition of the minimum width if the control size is defined as dynamic. | |
Selection of the unit of the minimum width:
| |
Definition of the maximum height if the control size is defined as dynamic. | |
Selection of the unit of the maximum height:
| |
Definition of the minimum height if the control size is defined as dynamic. | |
Selection of the unit of the minimum height:
| |
Calculated distance in pixels from the left side to the left side of the surrounding control | |
Calculated distance in pixels from the top side to the top side of the surrounding control | |
Calculated distance in pixels from the right side to the right side of the surrounding control | |
Calculated distance in pixels from the bottom side to the bottom side of the surrounding control | |
Calculated width of the control in pixels | |
Calculated height of the control in pixels | |
Definition of the row of a grid in which the control is to be displayed. | |
Definition of the column of a grid in which the control is to be displayed. | |
Definition of the transparency of the entire control | |
Selection of the visibility of a control:
| |
Definition of the position on the Z-axis | |
Definition of a transformation of a control:
| |
Definition of a shadow | |
Definition of the inner distance of the keypad to the outer sides of the keyboard | |
Definition of the inner distance of the additional keys to the outer sides of the window in which they are displayed | |
Selection of the method of calculating the width:
| |
Selection of the method of calculating the height:
|
Category: Common
Name |
Description |
---|---|
Activates a layout from the project. | |
Selection of the keyboard layout | |
Selecting the scaling of the keys | |
Selection of whether a control should be activated | |
Definition of the name of the control | |
Type name of the control | |
Definition of control classes | |
If a control is logically assigned in the DOM. | |
Definition of the tooltip for the control |
Category: Border
Name |
Description |
---|---|
Definition of the radius of the four corners to round them off | |
Selection of the border style of the four sides of the control | |
Definition of the border width of the four sides of the control |
Category: Background Image
Name |
Description |
---|---|
Definition of an image that is located above the background color | |
Definition of the height of the background image | |
Selection of the unit of the height of the background image:
| |
Definition of the width of the background image | |
Selection of the unit of the width of the background image:
| |
Definition of an additional distance between the border of the control and background image for the four sides | |
Definition of the vertical alignment of the background image within the control | |
Definition of the horizontal alignment of the background image within the control |
Category: Behavior
Name |
Description |
---|---|
Definition of a control using its name, to which all input is sent regardless of the focus The name of the control must be entered as a simple string. The control must not be linked directly. | |
Selecting whether the Shift key must be deactivated manually after it has been used together with another key | |
Definition of the time in milliseconds that a key must be pressed for a long keystroke to be detected. | |
Definition of the time in milliseconds that a key must be pressed for the input to be repeated. | |
|
Category: Labels
Name |
Description |
---|---|
Definition of the stroke thickness of the graphic key characters | |
Definition of the font using the name of the font family or the keyword | |
Definition of the font size of the key text | |
Selecting the unit of the text size:
| |
Selecting the font style:
| |
Selecting the font weight:
|
Category: Indirect Input
Name |
Description |
---|---|
Defines the horizontal alignment of the text in the preview field for indirect input. | |
Defines the font size of the text in the preview field for indirect input. | |
Defines the font size unit of the text in the preview field for indirect input. | |
Defines the padding of the text in the preview field for indirect input. |
Events
Category: Control
Name |
Description |
---|---|
Interaction with a key was started. | |
Interaction with a key was finished. | |
Interaction with a key was cancelled. | |
Interaction with a key was canceled or finished. | |
The user has confirmed the indirect entry. | |
The user has canceled the indirect input. |
Category: Framework
Name |
Description |
---|---|
The control was added to the display. | |
The control was removed from the display. | |
The control was initialized. | |
The control was destroyed. | |
The control was moved in relation to the browser window. | |
The size of the control was changed. |
Category: Operator
Name |
Description |
---|---|
A mouse click was executed or a touch screen was briefly touched. | |
The left mouse button was clicked over the control and released. | |
The left mouse button was clicked twice over the control and released. | |
The right mouse button was clicked over the control and released. | |
A mouse button was pressed down over the control. | |
The mouse pointer was moved over the control. | |
The mouse pointer has left the control. | |
A mouse button was released over the control. | |
The left mouse button was pressed down over the control. | |
The right mouse button was pressed down over the control. | |
The mouse was moved over the control. | |
The mouse pointer was moved over the control or one of its children. | |
The mouse pointer has left the control or one of its child controls. | |
The left mouse button was released over the control. | |
The right mouse button was released over the control. | |
The mouse wheel was moved over the control. | |
A finger/stylus was placed against a touch screen. | |
A finger/stylus was moved on a touch screen. | |
A finger/stylus was lifted off a touch screen. | |
An interaction with a touch screen was aborted. |
Access rights
Name |
Description |
---|---|
Determines whether the control is generally observable. | |
Determines whether the control is generally operable. |
Inheritance hierarchy
Keyboard
NuGet package: Beckhoff.TwinCAT.HMI.Controls
NuGet packages are available from version 1.12. |
Available from 1.8 |
See also
API reference for this control