Subject Re: [IBO] Save and Restore IB_Grid Width and Move settings.
Author Lucas Franzen
Christopher Hart schrieb:
> Users can resize, and move Grid Columns around.
> What is the proper way to save off the Grid/Query settings as they have
> them
> including moved columns and widths, and
> then restore them the next time they come back to that screen?

IB_queries have FieldsDisplayWidth and FieldsIndex, both are
TIB_StringLists.
You can just use the Commatext property of these StringLists for
retrieving and saving as plain strings.
for example:
myQuery.FieldDisplayWidth := ReadTheValueFromDatabase
myValueInDatabase := myQuery.FieldDisplayWidth;

Luc.