- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBtn
SKINBUTTONS()
DEFINE DIALOG oDlg
@ 2, 2 BUTTON "&Test";
ACTION ( oBtn:Disable(), oBtn:Enable() )
@ 3, 2 BUTTON oBtn PROMPT "&Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
EMG