Click or drag to resize

DataBrowser.SuspendUpdate Method (Typed)

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

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

Implements

SuspendUpdate
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