Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center Row in Grid
Message
 
 
À
11/04/2002 03:12:42
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00643593
Message ID:
00643637
Vues:
15
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform