The ESC key is disabled in the following sample (but it is not the only one) in the March build:
It seems that the cause is a change in TControl:
This is the previous working version:
EMG
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oGet, cVar := SPACE( 30 )
DEFINE DIALOG oDlg
@ 1, 1 GET oGet VAR cVar MEMO
@ 3, 1 BUTTON "&Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NILIt seems that the cause is a change in TControl:
METHOD KeyDown( nKey, nFlags ) CLASS TControl
if nKey == VK_ESCAPE
::oWnd:KeyDown( nKey, nFlags )
return 0
endifThis is the previous working version:
METHOD KeyDown( nKey, nFlags ) CLASS TControl
if nKey == VK_ESCAPE
::oWnd:KeyChar( nKey, nFlags )
return 0
endifEMG