Versions Compared

Key

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

...

ValueAbbr.Description
NoneNNo selections allowed
SingleSOnly one selection at a time is allowed
MultiMAny selection is allowed

If either field is set to "None", then the user is never able to select items, though he/she may still click on itemscan't select anything, though click events will still fire. This is the default setting since the Shortcut Bar is used primarily as links to other tasks. However, you may override this property to allow items to appear selected, thus using the Shortcut Bar as a selection control.

...

The images below show the results of each possible value:

 

NoneSingle Group, Single Item

Single Group, Multi Item

Multi Group, Single Item

Mutli Group, Multi Item

Image ModifiedImage ModifiedImage ModifiedImage ModifiedImage Modified

Example

Code Block
// Allow one selection in the whole control at a time 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.SelectBehavior", "Single":@FM:"Single") 

// Allow one selection per group 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.SelectBehavior", "Multi":@FM:"Single") 

// Allow multiple selections in only one group 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.SelectBehavior", "Single":@FM:"Multi") 

// Allow multiple selections throughout the whole control 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.SelectBehavior", "Multi":@FM:"Multi") 

// Allow no selections 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.SelectBehavior", "None")

...