Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the right control
Message
From
10/07/1998 13:30:46
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Finding the right control
Miscellaneous
Thread ID:
00116218
Message ID:
00116218
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform