- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oGet1, oGet3
LOCAL nVar1 := 0
LOCAL nVar2 := 0
LOCAL nVar3 := 0
DEFINE DIALOG oDlg;
SIZE 800, 600
@ 1, 1 GET oGet1 VAR nVar1;
SIZE 100, 13;
VALID ( IF( nVar1 = 0, oGet1:oJump := oGet3, ), .T. )
@ 3, 1 GET nVar2;
SIZE 100, 13
@ 5, 1 GET oGet3 VAR nVar3;
SIZE 100, 13
@ 7, 1 BUTTON "Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
EMG