MoveWindow() method
- Last UpdatedSep 20, 2024
- 1 minute read
The MoveWindow method scrolls the alarm records in the control in a given direction.
Syntax
AlarmClient.MoveWindow(ScrollDir, Repeat);
Parameters
ScrollDir
String indicating the direction to scroll. This parameter is case-insensitive. See the following table.
|
ScrollDir |
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
Number of times to repeat the scroll action.
Example
AlarmClient1.MoveWindow("Bottom", 0);