Page History
...
Value | Abbr. | Description |
---|---|---|
None | N | No selections allowed |
Single | S | Only one selection at a time is allowed |
Multi | M | Any 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:
None |
---|
Single Group, Single Item |
---|
...
Single Group, Multi |
---|
...
Item | Multi Group, Single Item |
---|
...
Mutli Group, Multi Item | ||||
---|---|---|---|---|
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") |
...