>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.
Maybe you are interactively testing one version of code, but a different version is getting built into your EXE?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up