SAS Component Language Dictionary |
Category: | Widget or Field |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
CURSOR wvar-name; |
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 |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.