Grid.SetColumnCount

Grid.SetColumnCount (

string ObjectName,

number ColumnCount )

Description

Sets the number of columns in a grid object. If there are more than ColumnCount columns in the grid already, the extra columns will be removed.

Parameters

ObjectName

(string) The name of the grid object.

ColumnCount

(number) The number of columns that should be in the grid object.

Returns

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

See also: Related Actions