>>You can try ON KEY LABEL
>>
>>>
>>>I would like to trap the Keycombination Ctrl+I and have therefore set in myForm.KeyPreview = .T. and in the txtBox where I would like to act on this action I have in KeyPress
>>>
>>>Lparameters nKeyCode, nShiftAltCtrl
>>>
>>>DO case
>>>CASE nKeyCode = 9 And nShiftAltCtrl = 2
>>>do mySomething
>>>ENDCASE
>>>
>>>
>>>Ctrl+I is never caught consequently mySomething is never executed. Ctrl+I are not the only combinations not recognized, others like Ctrl+A also however Ctrl+K shows correctly nKeyCode = 11.
>>>
>>>Anyubody who could give me a clue how to trap Ctrl+I in mytxtbox?
>>>
>>>Regards,
>>>
>>>Koen
>Sergey,
>
>What would make Ctrl+I not working ? Ctrl+K gives no problem. I suspect there is an other setting I overlook h.e. which one / where?
>
>Koen
Ctrl+I is a shortcut defined for Edit->Quick Info menu.
If you put:
SET SYSMENU TO
SET SYSMENU OFF
in Init event of the form you will see that KeyPress event will trap the Ctrl+I
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.