Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Item | Text | Item that is selected | "" |
Remarks
...
Selection will return nothing if either field of the SelectBehavior property is set to "None". Nor can items be programmatically selected in this case.
...
Code Block |
---|
// Get the selected items and determine how many there are SelItems = Get_Property(@Window:".OLE_SHORTCUT", "OLE.Selection") NumSelItems = Count(SelItems, @FM) + (SelItems NE "") // Set the selected items SelItems = "1;1":@FM:"2;1":@FM:"3;1" Set_Property(@Window:".OLE_SHORTCUT", "OLE.Selection", SelItems) // Remove all selections Set_Property(@Window:".OLE_SHORTCUT", "OLE.Selection", "") |