menus 2007

menus 2007

Postby norberto » Thu Nov 22, 2007 11:59 am

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

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

Postby Antonio Linares » Thu Nov 22, 2007 3:08 pm

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

Postby norberto » Thu Nov 22, 2007 3:40 pm

i try like this:

#Define _2007_ .T.

.
.
.
MENU oWndMnuMain

oMainMenu:l2007 := _2007_
.
.
.
BUT ONLY menumain (top) is 2007, menuitems still in normal mode.
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby Antonio Linares » Thu Nov 22, 2007 7:41 pm

Norberto,

Do it this way:
Code: Select all  Expand view
if lUse2007 // Your user wants 2007 look
   MENU oMenu 2007
      ...
else
   MENU oMenu
      ...
endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 95 guests