Chapter Contents

Previous

Next
Text Entry: _getCurrow

Text Entry: _getCurrow



Returns the position of the text cursor relative to the first row of a text entry field


Syntax
Details
Examples

Syntax

CALL NOTIFY (text-field-name, '_getCurrow', row);

Argument Description
row
returns the cursor position relative to the field's first row:


>0 the number of rows below the field's first row plus 1


<=0 the absolute number of rows above the field's first row minus 1


Details

The _getCurrow method returns the position of the text cursor (relative to the text entry field) when a user clicks with the mouse or presses the RETURN or ENTER key. The cursor can be in the master region or in another object. If the cursor is in an area below that first row, the number returned is positive. If the cursor is in an area above the receiver field's first row, the number returned is less than or equal to zero.


Examples

_getCurrow returns the cursor position relative to the first row of the field TEXT1. TEXT1 has a length of 6.


Chapter Contents

Previous

Next

Top of Page

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