menus 2007

Post Reply
norberto
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

menus 2007

Post by norberto »

HI, clause omenu:l2007 := .t. is working only in main menu, but menuitens still in normal mode.

:?:
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
norberto
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply