>How do I get the on key event from the keypress method to carry out a method defined in the right click event. I basically want the user to be able to either click the right button of the mouse or hit the F6 key
>to perform the same operation on a column within a grid.
>
>Thanks Ray
Firstly, keypress is event.
***Control(Form).Keypress event
if nKeyCode=-5
This.Rightclick()
endif
Edward Pikman
Independent Consultant