MoveWindow() method
- Last UpdatedJun 19, 2024
- 1 minute read
Scrolls the alarms in the control in a specified way.
Syntax
Object.MoveWindow(Option, Repeat)
Parameters
Option
The type of action to perform.
|
Type |
Description |
|---|---|
|
LineDn |
Line down. The Repeat parameter controls the number of lines to be scrolled. |
|
LineUp |
Line up. The Repeat parameter controls the number of lines to be scrolled. |
|
PageDn |
Page down. The Repeat parameter controls the number of pages to be scrolled. |
|
PageUp |
Page up. The Repeat parameter controls the number of pages to be scrolled. |
|
Top |
To the top of the control. |
|
Bottom |
To the bottom of the control. |
|
PageRt |
Page to the right. The Repeat parameter controls the number of pages to be scrolled. |
|
PageLf |
Page to the left. The Repeat parameter controls the number of pages to be scrolled. |
|
Right |
Scrolls right. The Repeat parameter controls the number of columns to be scrolled. |
|
Left |
Scrolls left. The Repeat parameter controls the number of columns to be scrolled. |
|
Home |
Scrolls to the top row and left most column of the control. |
Repeat
The number of times this operation should be repeated.
Example
The name of the control is AlarmViewerCtrl1.
#AlarmViewerCtrl1.MoveWindow ("Bottom", 0);
#AlarmViewerCtrl1.MoveWindow ("LineUp", 3);
#AlarmViewerCtrl1.MoveWindow ("PageLf", 7);