Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Group Select Behavior | Option | The behavior for selecting groups | None |
<2> | Item Select Behavior | Option | The bheavior for selecting items within groups | None |
...
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.
...
Selection will only be visible if you have the HotTrackStyle property set to "Image" or "Item". If you use alternate hot track styles, the selections will still exist but be invisible to the user.
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") |