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..