How I can erase to user the possibility to go out from dialog pressing escape button ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
How I can erase to user the possibility to go out from dialog pressing escape button ?
Silvio,
maybe a odlg:bValid which returns .F. if Lastkey == VK_ESCAPE?
Silvio
I try to give the cancel button focus :
ACTIVATE DIALOG oDlg;
VALID IIF(GETKEYSTATE(VK_ESCAPE) , (oButCancel:Setfocus() , .F.) , .T. )
Frank
thanks demont
NOw Run ok