Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVr1 := SPACE( 30 )
LOCAL cVr2 := SPACE( 30 )
DEFINE DIALOG oDlg
@ 1, 1 GET cVr1 VALID !EMPTY( GETACTIVE():VarGet() ) // !EMPTY( cVr1 )
@ 3, 1 GET cVr2
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL