Page 1 of 1
menus 2007
Posted: Thu Nov 22, 2007 11:59 am
by norberto
HI, clause omenu:l2007 := .t. is working only in main menu, but menuitens still in normal mode.
Posted: Thu Nov 22, 2007 3:08 pm
by Antonio Linares
Norberto,
You have to use the clause 2007 when you create the MENU:
MENU oMenu 2007
if you modify it later on, it will not properly work
Posted: Thu Nov 22, 2007 3:40 pm
by norberto
i try like this:
#Define _2007_ .T.
.
.
.
MENU oWndMnuMain
oMainMenu:l2007 := _2007_
.
.
.
BUT ONLY menumain (top) is 2007, menuitems still in normal mode.
Posted: Thu Nov 22, 2007 7:41 pm
by Antonio Linares
Norberto,
Do it this way:
Code: Select all
if lUse2007 // Your user wants 2007 look
MENU oMenu 2007
...
else
MENU oMenu
...
endif