Usage Examples

<< Click to Display Table of Contents >>

 

Usage Examples

The general usage of this object is formed by these steps:

1.Configure in Studio the properties regarding Grid Size and Formats and Filling Cells.

2.Execute the CustomConfig event to calculate the coordinates. The Status property indicates the progress of this calculation.

3.Once all coordinates are generated, save the object.

4.At run time, write to the Index property the number of a cell, such as 3 (three).

5.This object returns, in its Xindex and Yindex properties, the horizontal and vertical coordinates for the indicated cell.

 

In a scenario of grid filling by script, repeat the steps 4 (four) and 5 (five), changing the cell address in the Index property and reading the coordinates in the Xindex and Yindex properties. The next topics contain some scenarios describing the order in which cells are filled in.

Was this page useful?