Subject | Re: IB_Grid and column order |
---|---|
Author | Aage Johansen |
Post date | 2001-02-08T19:45:51Z |
> Is it possible to store the column order of a IB_Grid in theYou can easily store the values in an INI-filke using the CommaText function.
> registry or ini-file for later recreation
INI.WriteString(<section>,<item>,ibqrX.FieldsIndex.CommaText);
INI.WriteString(<section>,<item>,ibqrX.FieldsDisplayWidth.CommaText);
Note that if you have many fields and are using Delphi/3 you may have to
fix a constant in an Inifile unit - it limits the length of lines to 1000
characters (Delphi/5 allows 2000).
Regards,
Aage J.