Subject Re: [IBO] TIB_Grid, newbie
Author Lucas Franzen
Michael Vilhelmsen schrieb:
> Hi
>
> Is there an easy way to save to width of each column in a TIB_Grid ?

Yes.
Use the FieldDisplayWidth of the TIB_Query.
And since it's a TIB_StringList which inherits from TStrings it's quite
easy to read (assign/load) and write (save) each of this within one line
of code:

Save:
StringThatHoldsAllInfo := Myquery.FieldDisplayWidth.CommaText;

Read / Assign;

MyQuery.FieldDisplayWidth.CommaText := StringThatHoldsAllInfo;


Luc.