<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Process > Sequencer > SequencerEditArea > Actions and events |
The following section describes the possible actions and events for the widget.
Name |
Description |
Arguments |
SetMaxZoomLevel |
Defines a maximum value for the zoom factor. |
•maxZoomLevel: UInteger |
SetMinZoomLevel |
Defines a minimum value for the zoom factor. |
•minZoomLevel: UInteger |
ZoomIn |
Displays the current drawing area zoomed in by 20%. |
|
ZoomOut |
Displays the current drawing area zoomed out by 20%. |
|
ZoomReset |
Rests the zoom for the characters to the standard view. |
|
InsertAfterSelected |
Adds a step after the selected step in widget "SequencerEditArea". |
•type: StepItemSource |
InsertBeforeSelected |
Adds a step before the selected step in widget "SequencerEditArea". |
•type: StepItemSource |
InsertParallelToSelected |
Adds a step parallel to the selected step in widget "SequencerEditArea". |
•type: StepItemSource |
InsertOpenEndParallelToSelected |
Adds a step parallel to the selected step in widget "SequencerEditArea". The end of the step is open. |
•type: StepItemSource |
RemoveSelected |
Deletes the selected step in widget "SequencerEditArea". |
|
ReplaceSelected |
Replaces the selected step in widget "SequencerEditArea". |
•type: StepItemSource |
CreateMacro |
Creates a macro for the selected step. |
•name: String |
ResolveMacro |
Dissolves a macro back into its parts. The individual steps will become visible. |
|
SetVisible |
Controls the visibility of the widget. |
•value: Boolean Visible if the value is true. Otherwise, invisible. |
SetEnable |
Controls the usability of the widget. |
•value: Boolean Enabled if the value is true. Otherwise, disabled. |
SetStyle |
Sets a predefined style for the widget. |
•value: StyleReference |
ShowTooltip |
Mode "Tooltip" can be enabled using this action. When enabled, a tooltip indicator appears inside the widget. For this, a text must be configured in property "Tooltip". This text is displayed when the indicator is selected. Any other operation of a widget terminates mode "Tooltip". |
|
Focus |
Sets the focus to the widget when keyboard operation is enabled. |
|
Name |
Description |
Arguments |
Click |
Triggered when clicking on the widget. |
•origin: String "origin" contains the ID of the widget that triggers the click event. •horizontalPos: String horizontalPos contains the horizontal position of event "Click" in pixels (e.g. 10px starting from the viewport). •verticalPos: String verticalPos contains the vertical position of the click event in pixels (e.g. 10px starting from viewport). |
DisabledClick |
Triggered when clicking on the disabled widget. |
•origin: String "origin" contains the ID of the widget that triggers the click event. •hasPermission: Boolean "hasPermission" defines whether the current user has the necessary rights to access it. •horizontalPos: String horizontalPos contains the horizontal position of the DisabledClick event in pixels (e.g. 10px starting from viewport). •verticalPos: String verticalPos contains the vertical position of the DisabledClick event in pixels (e.g. 10px starting from viewport). |
EnableChanged |
Triggered when the usability of the widget is changed. This can be changed using various options: 1) Using property enable (binding or via widget action SetEnable) 2) Using property permissionOperate 3) Using usability properties (enable, permissionOperate, OPC UA variable) of the surrounding container widget 4) Using a bound OPC UA variable with write permissions that have been changed. |
•value: Boolean "value" defines the usability of the widget. If true is returned, the widget can be used; if false, it cannot be used. |
VisibleChanged |
Triggers when the visibility of the widget is changed. This can be changed using various options: 1) Using property visible (binding or via widget action SetVisible) 2) Using property permissionView 3) Using the visibility properties (visible, permissionView) of the surrounding container widget |
•value: Boolean "value" defines the visibility of the widget. If true is returned, the widget is displayed; if false, it is not displayed. |
SelectedStepItemChanged |
Triggered as soon as the selecting in the sequence changes. |
•stepSelected: Boolean Specifies whether a step is selected |
SequenceChanged |
Triggered as soon as a step or macro in the sequence is added or deleted. |
•successful: Boolean Specifies whether the sequence was modified successfully (true) or not (false) |
RelocateStepItemChanged |
Triggered as soon as a step has been placed using drag-and-drop |
•stepRelocate: Boolean Specifies whether a step is moved in the sequence. |
FocusIn |
Triggered when a widget gets the focus. |
|
FocusOut |
Triggered when a widget loses focus. |
|