Enables or disables auto updating.
Usage
Set_Property(OLECtrlEntID, "OLE.AutoReposition", Boolean)
Values
[True | False]
Default: True
Remarks
The AutoReposition property enables/disables the automatic repositioning of items Auto repositioning is on by default, and its purpose is to refresh the control every time a group or item is added or removed. If you plan on performing multiple operations at once, turn this off until you are done. This will increase performance by ensuring that the repositioning only happens once.
Example
// Turn off repositioning Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.AutoReposition", 0) // TODO: add or remove groups and items here // Turn repositioning on again Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.AutoReposition", 1)