Bruce,
My cForm class has this KeyPress method:
LPARAMETERS nKeyCode, nShiftAltCtrl
if ( nKeyCode = 93 )
this.RightClick()
nodefault
endif
>>Not too much of a fan of OKL anymore because this will interupt any code execution. but:
>>On key label SHIFT+F10 do someproc with This
>>
>>procedure someproc
>>
>>parameter loControl
>>loControl.RightClick()
>
>Thanks Mark. Tried your suggestion and I get "this can only be used within a Method"
>I am not tied to using OKL if you have a better suggestion. I wanted something I could put in my baseform class instead of every control base class. Other than that I'll use anything that works. I do believe that the Shift+F10 is a Windows Standard for right click shortcut.