Toggles on and off the ability to select multiple rows.
Usage
Set_Property(OLECtrlEntID, "OLE.MultiSelect", Value)
Values
Value can be any positive or negative whole number:
Default: 0
Remarks
The MultiSelect property can be used to allow the user to select multiple rows. The property can have three values:
0 = Off
A value of 0 indicates single selection only. This is the default value.
1 = On
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.
2 = On (Toggle Mode)
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.
Example
// Enable multiple row selection Set_Property(@Window:".OLE_RECORDTABLE", "OLE.MultiSelect", 1) // Enable toggle mode Set_Property(@Window:".OLE_RECORDTABLE", "OLE.MultiSelect", 2)