Subject Saving grid layouts
Author fields24@bellsouth.net
Hi all,

Does anyone know of a simple way to save the layouts of
the TIB_Grids? I have enabled my users to go to a mirrored
grid of a working grid and make column layout changes and save
them but am not able to save if they make changes to the order
of the columns (from left to right). They can change things such
widths, title labels, alignment, etc.

I am now using base statements such as:

TIB_Query(Grid.DataSource.Dataset).FieldsDisplayWidth.Text
TIB_Query(Grid.DataSource.Dataset).FieldsVisible.Text

And it will save the display widths, visibility, and even changes
to the column titles to a registry item, or an ini file, but I am
unable to puzzle out how to save the ordering change (Left to Right).
(I did start working out saving each of the TIB_Column parameters
to a TStringList but that was getting to be too complicated for
reloading the layouts when needed).

Thanks, Steve Fields