Hi Victor,
It depends on the version you are using.
If you are using VFP 6 follow this
Add following code to KeyPress event into your form -
IF nShiftAltCtrl=2
DO CASE
CASE nKeyCode=3
SYS(1500, '_med_copy', '_medit')
CASE nKeyCode=22
SYS(1500, '_med_paste', '_medit')
NODEFAULT
CASE nKeyCode=24
SYS(1500, '_med_cut', '_medit')
NODEFAULT
ENDCASE
ENDIF
However VFP3 does not have SYS(1500) or _medit functions.
Use this code -
IF nShiftAltCtrl=2
DO CASE
CASE nKeyCode=3
STOR This.seltext TO _CLIPTEXT
CASE nKeyCode=22
STOR _CLIPTEXT TO mtxt
STOR mtxt TO This.Seltext
NODEFAULT
CASE nKeyCode=24
STOR This.seltext TO _CLIPTEXT
STOR "" TO This.seltext
NODEFAULT
ENDC
ENDI
Further if you use this on form level it will apply to all objects. If you don't want to provide this facility to combo boxes where data are fetched from master tables, add above code in the KeyPress event of only required objects-textboxes, editboxes, etc.
Good luck!!
PURU
********
Addition -
This way you can user can use Ctrl+c, Ctrl+v, Ctrl+x.
It is better to provide toolbar rather than RightClick.
PURU