Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Row in Grid
Message
From
11/04/2002 07:33:36
 
 
To
11/04/2002 03:12:42
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00643593
Message ID:
00643637
Views:
13
Hi!

Just remember the record position before requery, or remember ID key of the record. After requery move record pointer back to that record (if possible), or search records with remembered ID key. After record pointer changed in data source, just use Grid.Refresh method call. This usuall refresh grid and centers view to the current record in the grid's record source alias.

HTH.

>Hi All,
>
>I would like to center active row in the middle of a grid after Requery (or some other programmatic action)
>
>I know I have read something about it but I can't remember how to do.
>
>Please giv me some advice.
>
>Thanks Agnes
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform