The number of groups in the shortcut bar control.
Usage
Set_Property(OLECtrlEntID, "OLE.GroupCount", Value)
Values
Value can be any positive or negative whole number:
Default: 0
Remarks
The GroupCount property sets the number of groups in the shortcut bar. All shortcut items will be within groups, so you must have at least one group in order to have shortcuts in your control.
To add new groups, simply incease the value of GroupCount. Doing so will add new groups to the after that last existing group without altering your current groups' settings. To delete groups, just decrement the GroupCount. This will delete groups from the bottom up. Any remaining groups will not be altered. Setting this property to any value less than zero is the same as setting it to zero.
There is currently no way to insert or remove groups from the middle or beginning of the control.
There is no software limit on the number of groups you may have; you are only limited by the machine's memory.
Example
// Init the control to 3 groups Set_Property(@Window:".OLE_SHORTCUT", "OLE.GroupCount", 3) // Add 3 more groups Set_Property(@Window:".OLE_SHORTCUT", "OLE.GroupCount", 6) // Remove 2 groups Set_Property(@Window:".OLE_SHORTCUT", "OLE.GroupCount", 4) // Remove all groups Set_Property(@Window:".OLE_SHORTCUT", "OLE.GroupCount", 0)