Chapter Contents

Previous

Next
Text Label: _getCurcol

Text Label: _getCurcol



Returns the position of the text cursor relative to the first column of a text label field


Syntax
Details
Example

Syntax

CALL NOTIFY (text-label-name, '_getCurcol', column);

Argument Type Description
column
N returns a value indicating whether the cursor is in the text label:


>0 the number of columns to the right of the label's first column plus 1


<=0 the absolute number of columns to the left of the label's first column minus 1


Details

The _getCurcol method returns the position of the text cursor (relative to the text entry field) when a user either 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 to the left of the field's first column, the number returned is less than or equal to zero; if the cursor is in an area to the right of the first column, the number returned is positive.


Example

For examples of the _getCurcol method, refer to the Text Entry class.


Chapter Contents

Previous

Next

Top of Page

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