GridWindows

Top  Previous  Next

The GridWindow object allows the user to configure and display a group of strings and/or variables in a grid format with a user-defined number of rows and columns.

 

A GridWindow has three other objects associated with it:

oGridCell

A GridCell object is used to hold strings and/or variables to display within a GridWindow.

The GridWindow contains a matrix of GridCell objects.

oGridCellGroup

The GridCellGroup object is a collection of GridCell objects within a GridWindow.

oGridFont

The GridFont object is a container to hold font-related properties within a GridCell.

Currently GridWindows can only be edited through FreeForm script. There is no object editor for a GridWindow.

The number of rows and columns in a GridWindow, as well as the contents of each cell, can be changed dynamically.

The GridWindow is very customizable with control over the font typeface, size, color, and alignment of each cell.

 

 

GridWindow Script Examples


Creating a GridWindow

The script examples below show how to create a GridWindow.

 

 

Setting Cell Values

The script below shows how to populate GridCells with strings and variables.

 

 

 

Setting Color Rules

The script example below shows how to use the color rules of a GridCell.

 

 

 

Viewing a Matrix with a GridWindow

The script example below shows how a Matrix object can easily be added to a GridWindow, first cell-by-cell, and then all at once using a GridCellGroup.

 

 

 

Setting Decimal Alignment

The script example below shows how decimal alignment can be set using the SetValue method.

 

 

 

Using ColumnSpan and RowSpan

The script example below shows how the ColumnSpan and RowSpan methods are used to combine GridCells.

 

 

 

 

See Also


GridWindow Properties and Methods

GridCell Properties and Methods

GridCellGroup Properties and Methods

GridFont Properties and Methods