Chapter Contents |
Previous |
Next |
CURSOR |
Category: | Widget or Field |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
CURSOR wvar-name; |
Type: Character
Details |
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.
Example |
Move the cursor to ADDRESS if NAME is filled in:
if modified (name) and name ne '' then cursor address;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.