Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid only show last record in viewable area
Message
 
 
À
14/07/2001 00:05:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530600
Message ID:
00530672
Vues:
14
>Hi,
> I have a cursor that will bind to grid. After I INSERT a record into my cursor, grid always show the last record only in viewable area. How could I direct grid to show not only last record in viewable area but the highlight row remain on the last inserted record?
>
>Thank you

Save the previos record in a variable, go to this record after your insert, then go to the last record. Do all operations with thisform.lockscreen=.t. (don't forget to reset it back to .f. after you finish). I believe, it would do it, but I haven't tested this idea.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform