Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg
TBitmap():New()
ACTIVATE DIALOG oDlg;
ON INIT oDlg:bValid := { || !GetKeyState( VK_ESCAPE ) };
CENTER NOMODAL
SYSWAIT( 2 )
oDlg:End()
DEFINE DIALOG oDlg
ACTIVATE DIALOG oDlg;
ON INIT oDlg:bValid := { || !GetKeyState( VK_ESCAPE ) };
CENTER NOMODAL
SYSWAIT( 2 )
RETURN NIL