Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding the right control
Message
De
10/07/1998 13:30:46
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Finding the right control
Divers
Thread ID:
00116218
Message ID:
00116218
Vues:
59
Very simply, I am using the following to manually execute a right click
ON KEY LABEL SHIFT+F10 _screen.activeform.activecontrol.RightClick()

Works fine until I run into a grid. I want to execute the right click of the control (eg textbox) that is active in the grid. When you are in a grid, activecontrol returns the name of the grid not the cell that is active. I need the above command to work whether I am in a grid or not. How do I find out which actual active control I am in in a grid?
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform