Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Selected Row | Integer | Index to a selected row | "" |
...
If you prefer to get the data of all selected rows, use the SelList property.
By default, the user can only select one row at a time. To allow multiple selected rows, see the MultiSelect property.
This property always returns the selection in ascending order. Alternatively, you may use the SelPosOrdered property.
Example
Code Block |
---|
// Get the list of selected rows SelPos = Get_Property(@Window:".OLE_RECORDTABLE", "OLE.SelPos") // Set row 7 as the selected row Set_Property(@Window:".OLE_RECORDTABLE", "OLE.SelPos", 7) // Enable multiselect and programmatically set the first 3 rows Set_Property(@Window:".OLE_RECORDTABLE", "OLE.MultiSelect", 1) SelPos = 1:@FM:2:@FM:3 Set_Property(@Window:".OLE_RECORDTABLE", "OLE.SelPos", SelPos) |