LockGridUpdate method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Stops the painting of a grid component.

Syntax

object.LockGridUpdate( )

  Part   Description
object Required. A reference to a valid grid component object.

Remarks

The process of painting messages can slow performance when a large number of data updates is underway. This method turns off painting. The UnlockGridUpdate method turns it back on.

Example

Sub Main()
   ThisForm.Components("FormCollectionGrid").LockGridUpdate()
End Sub