Click or drag to resize

DataBrowser.SuspendUpdate Method

X#
Temporarily disable repainting of the data browser while data is being altered; painting resumes with a call to DataBrowser:RestoreUpdate().

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SuspendUpdate() AS USUAL
Request Example View Source

Return Value

Type: Usual
Remarks
This method is used to reduce "visual noise" during a multi-record update of the data browser from its data server. For example, when reading a full screen of data, the appearance of the window is more pleasing if the screen updates occur all together. When the updating is complete, use the DataBrowser:RestoreUpdate() method to refresh the display and reactivate standard behavior. Note that DataBrowser:SuspendUpdate() stacks its invocations. Therefore, for each call to DataBrowser:SuspendUpdate(), there needs to be a corresponding call DataBrowser:RestoreUpdate().
See Also