CalcIt Forms & Controls

CELL(x, y)

Reads or sets the value of a cell in a ctrGRID control. This is also used for the fixed row or column (if they are activated). Fixed row or column are at index 0 (if they are activated). The rest of  the Cells are indexed from 1.

  • x. Column index
  • y. Row index

e.g. For a form variable frm and a ctrGRID control with name ID1

v:=frm('ID1').Cell(3,3);  //reads Cell at column at column=1, row=3 and assigns at v
frm('ID1').Cell(3,3):=10;
//Sets the value of Cell at column=3, row=3 to 10

For Control(s): ctrGRID

Go Back