Chapter Contents

Previous

Next
Text Viewer: _getMark

Text Viewer: _getMark



Returns information about the marked area


Syntax
Example

Syntax

CALL NOTIFY (viewer-name, '_getMark', start-row, start-col, end-row, end-col);

Argument Type Description
start-row
N returns the starting row of the marked area
start-col
N returns the starting column of the marked area
end-row
N returns the ending row of the marked area
end-col
N returns the ending column of the marked area


Example

_getMark returns information about the marked area:

call notify('textview', '_get_mark_',
             srow, scol, erow, ecol);

If the marked area begins at row 3, column 3 and ends at row 6, column 6, the _getMark method returns these values:
SROW=3
SCOL=3
EROW=6
ECOL=6


Chapter Contents

Previous

Next

Top of Page

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