Subject | Re: [IBO] TIB_Grid, newbie |
---|---|
Author | Lucas Franzen |
Post date | 2004-01-14T19:04:26Z |
Michael Vilhelmsen schrieb:
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.
> HiYes.
>
> Is there an easy way to save to width of each column in a TIB_Grid ?
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.