Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<1>ItemTextItem 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", "")

See Also

SelectBehaviorGroupSelection