Page 1 of 1

How To set column width in databand???

Posted: Wed Jan 31, 2007 1:33 am
by jayakumargr
Hi,
i designed databand with 6 coumns. In Runtime,i want to set a particular column width to some value.
how i do that....?
Any One give me the guidelines....

Thanks in advance....



How To set column width in databand???

Posted: Thu Feb 01, 2007 2:31 am
by Vital
In BeforePrintEvent of any components placed on databand with columns type following code:

Code: Select all

if (Column == 1)Text1.Parent.Width = 3;
else Text1.Parent.Width = 6;
Thank you.