Have you already tried James Blackburn's tip?
on key label ctrl+c wait wind "hoi" nowait
on key label ctrl+c _vfp.activeform.myMethod()
on key label ctrl+c keyboard "{ctrl+g}"
>>>
>>>Perhaps you have Ctrl-C in your menu, probably for "Edit - Copy"? In this case, I suspect the menu would have precedence.
>>>
>>>Groeten,
>>>
>>>Hilmar.
>>
>>
>>Hi,
>>
>>I have no menu (yet).Working on a modal form in the VFP development environment.
>>
>>Update: Fabio's prg now converted into a class and working like a charm: method Keypress is acting upon nKey=3 and nShiftCtrlAlt = 2 (=Ctrl+C)
>>Thanks for support
>>
>>
>>Regards,
>>
>>Koen
>
>
>Hi,
>
>update again :
>
>Fabio's prg is only working as it makes use of the "Debug output" - disabling this and compiling to an exe will result in a non working procedure. So I am back to 0 :(
>
>Regards,
>
>Koen
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.