LPARAMETERS nKeyCode, nShiftAltCtrl IF nKeyCode = -8 && F9 Thisform.Ortese = .F. THIS.VALUE = lnAto ENDIF IF nKeyCode = -6 && F7 Thisform.Ortese = .T. THISFORM.PageFrame1.Page3.BtnAtoRealiz.CLICK() ENDIFIn interactive mode this code works correctly, but in exe does not work.