Enables or disables redrawing of the control when setting properties.
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 then set it back to 1 to redraw the control in its final state.
For large and complicated tables there is increasingly complicated processing involved in recalculating the size of all the cells, which is often done just before the table is redrawn. Thus, it is highly recommended that you use the Redraw property to increase control performance.
* Temporarily disable redrawing Set_Property(@Window:".OLE_EDITTABLE", "OLE.Redraw", 0) *... * Do lots of property changes and method calls here... *... * Now redraw the edit table Set_Property(@Window:".OLE_EDITTABLE", "OLE.Redraw", 1)
While setting this value to 1 will redraw the control, it is recommended you use the control's Refresh method for one-time redraws.