Chapter Contents

Previous

Next
Widget Class: _cursor

Widget Class: _cursor



Positions the cursor in a widget


Syntax
Details

Syntax

objectName._cursor( );


Details

The _cursor method has the same effect as the Cursor statement, except that the _cursor method may be executed from another Frame, SCL, or Program entry. The textEntry object and the extendedTextEntry object have additional parameters that are described in the _cursor method in the class.

Example

_cursor puts the cursor on the libname widget if the field is in error:

if field('error', 'libname') > 0 then
   libname._cursor();

The field function has the same functionality for Frame entries as it does for Program entries, with the following exception: the field function may only be executed in the SCL program associated with the Frame entry; it may not be executed in other SCL methods.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.