Grid.SetRedraw

Grid.SetRedraw (

string ObjectName,

boolean Redraw = true,

boolean RedrawScrollbars = true )

Description

Stops/starts redraws on things like changing the number of rows and columns and autosizing in a grid object, but not for user-intervention such as resizes.

Parameters

ObjectName

(string) The name of the grid object.

Redraw

(boolean) Whether redrawing is on or off. This is an optional argument and if omitted will default to true.

VALUE

DESCRIPTION

true

Set redrawing to be on. (Default)

false

Set redrawing to be off.

RedrawScrollbars

(boolean) Whether or not to redraw the scrollbars. This is an optional argument and if omitted will default to true.

VALUE

DESCRIPTION

true

Redraw the scrollbars.

false

Don't redraw the scrollbars.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions