Temporarily disables redrawing of the control.
Usage
Set_Property(OLECtrlEntID, "OLE.Redraw", Boolean)
Values
[True | False]
Default: True
Remarks
The Redraw property specifies whether or not the control redraws itself each time a property is changed or a method is called. Set this property to 0 before calling a block of properties and methods, and set it back to 1 to redraw the control in its final state.
For large and complicated trees there is increasingly complicated processing involved in recalculating the size of all the tree items, which is often done just before the tree is redrawn. Thus, it is highly recommended that you use the Redraw property to increase performance.
To simply refresh the control, pass a value of 1 to this property.
Example
// Temporarily disable redrawing Set_Property(@Window:".OLE_TREE", "OLE.Redraw", 0) //... // Do lots of property changes and method calls here... //... // Now redraw the control Set_Property(@Window:".OLE_TREE", "OLE.Redraw", 1)