Subject RE: [IBO] How to position selected record in grid to center????
Author Michael L. Horne
Jason,

I tried in code, in the form show event
gridAlt.TopRowNum := 8;
but the selected row still positioned to row
number 2 of the grid.

The query has the OrderingLinks with Pos= and I use

qyAltGrid.Locate('ALT_PART', Part, [lopPartialKey, lopFindNearest]);

To position in the query.

Thanks
Michael L. Horne


> -----Original Message-----
> From: Jason Wharton [mailto:jwharton@...]
> Sent: Friday, May 24, 2002 12:47 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] How to position selected record in grid to center????
>
>
> Oh ya that is it. It should adjust things. What did you try?
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "Michael L. Horne" <guardian@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Thursday, May 23, 2002 9:13 PM
> Subject: RE: [IBO] How to position selected record in grid to center????
>
>
> > Jason,
> >
> > Maybe I don't understand, but there doesn't appear to be
> > a TIB_Grid.TopRow property, there is a TopRowNum, but
> > it doesn't appear to adjust where the selected row is
> > either. Could you give me more details on to use it.
> >
> > Thanks
> > Michael L. Horne
>
>
>
>
> __________________________________________________________________
> _________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________
> _________
> http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>