Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stay in a Row in Grid?
Message
De
25/01/1999 15:29:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00179756
Message ID:
00179976
Vues:
44
>Edward,
>Thank you for your answer. It sounds very logical, and I will try to use it this way. But I need some time to change it, so I cannot probably will do it tomorrow. I am very new in VFP 6.0 (two months), so every hint is very helpful for me.

Ok. If you must stick to the current way so far, then the troubleshooting path would be following:
1. Add a button to your form with the simple code inside:
***button click event
Select mycursor && this is grid.recordsource
Go 15 && just to get 'invisible' row
Thisform.Grid.Setfocus
2. Try it and if it will scroll to row#15 without problem (IMO it should, at least VFP5 works Ok here), then
3. Make this button invisible and call it from grid 'refreshing' code. If it's still OK, then you interface is fixed (just pass the KeyValue or RECNO() to click event).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform