Purpose
Returns information about a selected item in the Table List window.
Syntax
TableListSelectionInfo( selection_index, attribute )
selection_id is the index of a selected item in Table List.
attribute is a code indicating the type of information to return; see table below.
Description
The attribute parameter can be any value from the table below. Codes in the left column are defined in MAPBASIC.DEF.
attribute code | ID | TableInfo() returns |
---|---|---|
TL_SEL_INFO_NAME | 1 | String result, representing the name of the selected. |
TL_SEL_INFO_ID | 2 | Smallint value, indicating the id of the table associated with the selected item. This value can be used in calls to TableInfo(). |