- Code: Select all Expand view
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oBar
DEFINE WINDOW oWnd
DEFINE BUTTONBAR oBar OF oWnd 2007;
SIZE 50, 70
DEFINE BUTTON OF oBar;
ACTION oWnd:End();
PROMPT "Close" + CRLF + "Window"
ACTIVATE WINDOW oWnd
RETURN NIL
EMG