Promotic
WikipediaLinkedInYoutubeTwitterFacebook

MoveTo - method of the PmgEventViewer object

Description:
Moves the selected row of the viewer.
Syntax:
Empty MoveTo(Long nWhat)
Parameters:
nWhat(Long) Movement type of the selected row of the viewer.
0 - Refresh to the newest item of the newest backup. If the active backup is switched to newer then the onConnect event is triggered.
1 - Up - one row up. Only in the current backup.
2 - Down - one row down. Only in the current backup.
11 - PgUp - one page up. Only in the current backup.
12 - PgDown - one page down. Only in the current backup.
21 - Home - to the beginning. Only in the current backup.
22 - End - to the end. Only in the current backup.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
oViewer.MoveTo(0);

History:
Pm9.00.00: Created
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice