Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oMen
MENU oMen 2015
MENUITEM "Test"
ENDMENU
DEFINE WINDOW oWnd;
MENU oMen
ACTIVATE WINDOW oWnd
RETURN NIL
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oMen
MENU oMen 2015
MENUITEM "Test"
ENDMENU
DEFINE WINDOW oWnd;
MENU oMen
ACTIVATE WINDOW oWnd
RETURN NIL
SolvedEnrico Maria Giordano wrote:This is a sample. The menu bar is only painted for the part used by the menu.
EMGCode: Select all
#include "Fivewin.ch" FUNCTION MAIN() LOCAL oWnd, oMen MENU oMen 2015 MENUITEM "Test" ENDMENU DEFINE WINDOW oWnd; MENU oMen ACTIVATE WINDOW oWnd RETURN NIL