Re: AW: TZF - Grid Row Heigth

Roger Hamilton <[email protected]> Tue, 07 Oct 2003 09:16:53 -0700
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
 I have been interested in the positioning of the 'target' record in  the grid, even after a find
it is nice to 'center'  the record in the grid (especially searching for a name) this allows for the nearby choices to displayed etc...
The only work around that I have done is to find or position on an artificial record ie original +5 and then 
if at the bottom of the record do SKIP(-1) x 5 etc...or if at the top skip(1) to highlight the correct record
it is a bit of trial and error and a bit messy I would be interested in find(record) or goto(record) with a 
'center of grid' option in the find procedure 
I will be interested to see the feedback on this
Roger



******************

Thanks - I needed that also.  While we are on the subject
of TTzGrids, I have another question.

Sometimes when you have a grid, you need to 
"exercise" the grid with GoBottom then GoTop
then Go(OriginalRecord)  ... for whatever reason.

If the "OriginalRecord" was in the middle of
the grid when this "exercise" was started, it
would be nice if it were in the same place (middle)
when it ended.  On the contrary, it shows up
at the top.  How can you make the record 
show in the "grid location" it started?

Thanks,
Bob Watson

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------