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