Hi Metin,
I did a similar test using messagebox, but had no success.
I later discovered that another developer has used the F9 key to another function.
Thanks for the help.
>Hi Welington,
>
>You may used a on key label f9 or there is a menu shortcut works with f9?
>
>In case of you I would be put a "wait window nkeycode" command to my keypress event and build-run .exe and see what will happen...
>
>>Hi.
>>
>>I have code below in method KeyPress of the textbox:
>>
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>
>>IF nKeyCode = -8
>> Thisform.Ortese = .F.
>> THIS.VALUE = lnAto
>>ENDIF
>>
>>IF nKeyCode = -6
>> Thisform.Ortese = .T.
>> THISFORM.PageFrame1.Page3.BtnAtoRealiz.CLICK()
>>ENDIF
>>
>>
>>
>>In interactive mode this code works correctly, but in exe does not work.
>>
>>Any idea?
>>
>>Thanks..