- 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"
ACTIVATE WINDOW oWnd
RETURN NIL
EMG
#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"
ACTIVATE WINDOW oWnd
RETURN NIL
if ::lBarBtn
::l2007 = ::oWnd:l2007
IF ::oFont == NIL
if ::oWnd:oFont != nil
if ::oWnd:oFont:cFaceName != "Tahoma"
DEFINE FONT oFont NAME "Tahoma" SIZE 0, -11
endif
else
DEFINE FONT oFont NAME "Tahoma" SIZE 0, -11
endif
::oWnd:SetFont( oFont )
::SetFont( oFont ) // EMG
else
::oWnd:SetFont( ::oFont )
::SetFont( ::oFont ) // EMG
endif
else
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 78 guests