Toggles on and off the ability to select multiple rows.
Set_Property(OLECtrlEntID, "OLE.MultiSelect", Value) |
Value can be any positive or negative whole number:
Default: 0
The MultiSelect property can be used to allow the user to select multiple rows. The property can have three values:
A value of 0 indicates single selection only. This is the default value.
Turns on multiple selection, which behaves just like standard Windows list box controls: the user selects multiple rows by holding down the SHIFT or CTRL key while clicking on a row.
The SHIFT key will inclusively select all rows between the last selected row and the row being clicked. The CTRL key will toggle a row's selection state. That is, it will deselect the row if it was selected or select the row if it was deselected.
This value also turns on multiple selection, but the user does not need to hold down the CTRL key to toggle-select items. Instead, any click will toggle a row as selected or unselected. The SHIFT key still behaves as noted above.
// Enable multiple row selection Set_Property(@Window:".OLE_RECORDTABLE", "OLE.MultiSelect", 1) // Enable toggle mode Set_Property(@Window:".OLE_RECORDTABLE", "OLE.MultiSelect", 2) |