PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > WGETVPOS command
WGETVPOS command

Retrieves the cursor vertical position from the top of the page.

 

This is the distance from the cursor to the top edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch).


The result is sent through the &RESULT variable.

 

Syntax

 

CHGVAR                VAR(&CMD)VALUE('WGETVPOS')

CHGVAR                VAR(&PARM1)VALUE(' ')

CHGVAR                VAR(&PARM2)VALUE(' ')

CALL                  PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 +

                      &PARM2 &RESULT)

MONMSG MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR))