CalcIt Forms & Controls

COLWIDTH(x)

Reads or sets the width of a column of a ctrGRID control at index x, in pixels.

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

v:=frm('ID1').ColWidth(3);  //read the width of column 3 and assigns at v
frm('ID1').ColWidth(3):=10;
//Sets the width of column 3 at 10 pixels

For Control(s): ctrGRID

Go Back