Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set the focus to a particular row in a grid?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How do I set the focus to a particular row in a grid?
Divers
Thread ID:
00795438
Message ID:
00795438
Vues:
52
I have a form with a grid and a few command buttons on it.
In the grids afterrowcolchange method I am storing activerow to a form property.

I would like to place code in the click method of the command buttons
to set the focus back to the row that the user was on before he hit the command button. My attempts so far have centered mostly around using the
.ActivateCell(thisform.oldrow,1) method. I believe it hasn't worked because of firing the grd.setfocus() method after selecting the cell.

Any suggestions would be greatly appreciated =)

Eddie
If Bill Gates had a penny for every time windows crashed he'd be... Oh wait he does!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform