View Object Overview
The following view objects provide the base of any 2D SCADA or HMI project. These objects can be used on their own or may be combined to create template objects.
The Common Properties describes the properties that are universal to all 2D view objects. See the corresponding object page for object specific information.
Most object properties can be modified using Transforms to create dynamic objects. See Transforms for information.
Object List
Graphical Objects
Object | Image |
---|---|
Ellipse | |
Line | |
Polygon | |
Rectangle | |
Symbol
|
|
TextBlock |
Input Objects
Object | Image |
---|---|
Button | |
ComboBox | |
DataTable | |
TextBox |
Special Objects
Object | Image |
---|---|
AlarmSummaryTable | |
AlarmTable | |
TagBrowser | |
TrendChart |
Non ViewObjects
Object | Image |
---|---|
Numpad | |
Group | |
TrendView |
Common Properties
Property | Default | Note |
---|---|---|
ClickableColor | ||
Custom | Dictionary of user created constants to be used inside an object. Custom has been added to facilitate attaching custom values to objects. |
|
DisableExpression | ||
Enabled | True | Enables or disables the object. |
Height | Height of the object in pixels. | |
HorizontalAlignment | [DEPRECATED] | |
IsClickable | True | Whether the object will respond to clicks or not. Depends whether the object supports clicks and has click handlers assigned. When False clicks will pass through. |
Margin | [DEPRECATED] Use X and Y instead | |
Name | "" | A user provided name for the object. |
Rotation | 0 | Rotation of the object in degrees |
RotationOrigin | 0,0 | Point to rotate around, relative to Top, Left. |
ToolTip | Text that will appear when the mouse curser is hovering over a deselected object. | |
Transforms | See Transforms | |
VerticalAlignment | [DEPRECATED] | |
Visible | True | Toggles the visibility of the object. |
Width | Width of the object in pixels | |
X | 0 | Position of the object relative to the left of the parent container |
Y | 0 | Position of the object relative to the top of the parent container |
Z | 0 | Order that the object will be rendered in, relative to other objects in the parent container. Objects with larger Z values will appear on top of objects with lower Z values. If no Z value is given, objects at the bottom of the View file will be rendered on top of the earlier objects. |
Note: Only Button, Textblock and Symbol are clickable
Property | Default | Note |
---|---|---|
MouseEnterExpression | ||
MouseExitExpression | ||
MouseLeftButtonDownExpression | ||
MouseLeftButtonUpExpression | ||
MouseLeftRepeat | ||
MouseLeftRepeatRate | ||
MouseRightButtonDownExpression | ||
MouseRightButtonUpExpression | ||
MouseRightRepeat | ||
MouseRightRepeatRate |
Common Methods
Method | Note |
---|---|
AddTransform(Transform) | Adds a transform from a Python script |
RemoveTransform(Transform) | removes a transform from a Python script |
Common Events
Note: Only Button, Textblock and Symbol are clickable
Event | Note |
---|---|
MouseEnter | Event runs when the mouse curser enters the object boundaries. |
MouseExit | Event runs when the mouse curser exits the object boundaries. |
MouseLeftButtonDown | Event runs when the left mouse button is clicked. |
MouseLeftButtonUp | Event runs when the left mouse button is released. |
MouseRightButtonDown | Event runs when the right mouse button is clicked. |
MouseRightButtonUp | Event runs when the right mouse button is released. |