Subject RE: [IBO] IB_Grid and column order
Author Kaputnik
Sorry, forgot that....

I am defining my datamaodules always as public variables of the form,
therefore the formplacement will do it for me...
You will have to stream your properties somehow different, but there are
several components on the market for that, too...


CU, Kaputnik
(Nick Josipovic)

nick@... <mailto:nick@...>
kap@... <mailto:kap@...>
-----------------------------------------------------------------------
superior Client/Server programming:
www.IBObjects.com <http://www.ibobjects.com/>
a nice Tool for Interbase:
www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>


> -----Original Message-----
> From: Thomas Steinmaurer [mailto:thomas.steinmaurer@...]
> Sent: Thursday, February 08, 2001 5:19 PM
> To: IBObjects@yahoogroups.com
> Subject: AW: [IBO] IB_Grid and column order
>
>
> Hello Nick,
>
> have you tried this when TIB_Query is placed in a TDataModule and not in a
> TForm. The necessary registry entries aren't made.
>
> Any ideas?
> Thomas
>
> > -----Ursprungliche Nachricht-----
> > Von: Kaputnik [mailto:delphi@...]
> > Gesendet: Donnerstag, 08. Februar 2001 16:33
> > An: IBObjects@yahoogroups.com
> > Betreff: RE: [IBO] IB_Grid and column order
> >
> >
> > Yes....and even pretty simple....
> >
> > Remember that all such visual settings are based in the
> > IB_Dataset, and most
> > of them are Stringlists.
> > So you won't examine the Grid, but the underlying Query....
> >
> > I am using a RX-FormStorage tho store the following lists to the
> > registry in
> > hkey-current-user:
> > FieldsDisplyWidth if the user has its own preferences regarding the
> > column.sizes
> > FieldsIndex for what you asked for and
> > FieldsVisible to achieve a field-chooser like outlook or other
> > sorts of crap
> > have to offer the user....
> > OrderingItemNo also....
> >
> > Just a tip for future working...
> > Go into the query-editor, and open the dataset...in the
> result-grid, play
> > around with ordering, column-resizing and column-dragging and the
> > go to the
> > FieldProperties tab and look, what new entries there are....
> > You see, IBO has a true bi-directional communication between
> the controls
> > and the datasets...
> >
> >
> > CU, Kaputnik
> > (Nick Josipovic)
> >
> > nick@... <mailto:nick@...>
> > kap@... <mailto:kap@...>
> > -----------------------------------------------------------------------
> > superior Client/Server programming:
> > www.IBObjects.com <http://www.ibobjects.com/>
> > a nice Tool for Interbase:
> > www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>
> >
> >
> > > -----Original Message-----
> > > From: Thomas Steinmaurer [mailto:thomas.steinmaurer@...]
> > > Sent: Thursday, February 08, 2001 4:05 PM
> > > To: IBObjects@yahoogroups.com
> > > Subject: [IBO] IB_Grid and column order
> > >
> > >
> > > Just a thought!
> > >
> > > Is it possible to store the column order of a IB_Grid in the registry
> > > or ini-file for later recreation
> > >
> > > Thanks
> > > Thomas
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>