In addition to the properties it inherits from the AnyWin class and Control class, Table has the following properties:
Property | Type | Description |
---|---|---|
bIsExtend | BOOLEAN | Whether the table supports extended selection (uses the IsExtendSel method) |
bIsMulti | BOOLEAN | Whether the table supports multiple selections (uses the IsMultiSel method) |
iColCount | INTEGER | The number of columns in the table (uses the GetColumnCount method) |
iRowCount | INTEGER | The number of rows in the table (uses the GetRowCount method) |
iValue | INTEGER | The selected cell in a single-selection table (uses the GetSelCell method) |
liValue | LIST OF INTEGER | All selected cells in a multiple-selection table (uses the GetMultiSelCell method) |
lsContents | LIST OF STRING | The contents of the entire table (uses the GetContents method) |
lsValue | LIST OF STRING | The text of all selected cells in a multiple-selection table (uses the GetMultiSelText method) |
sValue | STRING | The text of the selected cell in a single-selection table (uses the GetSelText method). |
Setting Focus on a Text Field in a Table
When using the Click method on a text field in a table you must use the coordinates 1,1—that is, specify Click(1,1,1)—in order to properly click within the text field and give it focus. Alternatively, you can use the SetFocus method on the text field to give it the input focus.
In addition to the methods it inherits from the AnyWin class and Control class, Table has the following methods: