SAS Component Language Dictionary |
Positions the cursor in a specified widget or field of a FRAME
entry
Category: |
Widget or Field
|
-
wvar-name
-
specifies which FRAME entry widget or field
to position the cursor on.
Type: Character
The CURSOR statement does not move the cursor immediately
while the SCL program is executing. Rather, it specifies where the cursor
will be positioned when SCL returns control to the procedure after the frame
is updated. If multiple cursor statements execute, the cursor is positioned
on the FRAME entry widget or field that was specified in the last CURSOR statement.
In SAS/AF applications, a REFRESH statement also positions the cursor, based
on the last cursor statement.
The FRAME entry widget or field cannot be an element
of an array. For an array element, use the FIELD function instead.
FRAME entry widgets can also use the _cursor
method.
Move the cursor to ADDRESS if NAME is filled in:
if modified (name) and name ne '' then
cursor address;
CURFLD
CURWORD
DISPLAYED
ERROR
ERROROFF
ERRORON
FIELD
HOME
MODIFIED
PROTECT
UNPROTECT
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.