Chapter Contents

Previous

Next
Table Editor: _getSelections

Table Editor: _getSelections



Returns a list of the selections.


Syntax
Details
Example

Syntax

CALL SEND (object-id, '_getSelections', sel-list);

Argument Type Description
sel-list
N specifies the identifier of an SCL list to contain the selections.


Details

The selections returned by the _getSelections method are grouped into individual sublists, one for each selection. Each of the sublists within the outer list contains four named lists, START_ROW, START_COLUMN, END_ROW, and END_COLUMN. These named lists contain the coordinates for the particular point.


Example

The following example shows the contents of the SCL list returned by the _getSelections method when two noncontiguous ranges of cells in a table editor are selected or highlighted. The list shown below represents the following ranges:

range 1: row 1, column 1 through row 4, column 2

range 2: row 5, column 3 through row 8, column 4

SELECTIONS(1=(START_ROW=(1=1
                          )[2029]
               START_COLUMN=(1=1
                             )[2027]
               END_ROW=(1=4
                        )[2023]
               END_COLUMN=(1=2
                           )[2097]
               )[2021]
            2=(START_ROW=(1=5
                          )[2109]
               START_COLUMN=(1=3
                             )[2101]
               END_ROW=(1=8
                        )[2121]
               END_COLUMN=(1=4
                           )[2119]
               )[2103]
            )[2019]


Chapter Contents

Previous

Next

Top of Page

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