FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MENU ERROR WITH 2007
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
MENU ERROR WITH 2007
Posted: Wed Feb 09, 2011 07:49 PM
ON windows seven Home premium I see it



BUT if I erase 2007 command it run ok

How I can resolve it ?
Best Regards, Saludos



Falconi Silvio
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: MENU ERROR WITH 2007
Posted: Thu Feb 10, 2011 02:33 PM

As a workaround you can try just adding some blank spaces to the menu items that are too long to display.

The menu code still needs a fix.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: MENU ERROR WITH 2007
Posted: Thu Feb 10, 2011 02:43 PM

You can try use PADR

MENU oMenu 2007
MENUITEM PadR( "Item", 150 ) // adjust 150 for other number if you need.
ENDMENU

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: MENU ERROR WITH 2007
Posted: Thu Feb 10, 2011 10:51 PM

thanks for now ....the great solution is of laiton ( padr) , I allready found the solution on the menu code ... I must make some tests..

Best Regards, Saludos



Falconi Silvio
Posts: 603
Joined: Sun May 04, 2008 08:44 PM
Re: MENU ERROR WITH 2007
Posted: Thu Feb 10, 2011 11:53 PM

Good Silvio.

:D

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: MENU ERROR WITH 2007
Posted: Fri Feb 11, 2011 12:13 AM

Silvio

What fivewin version do you have?

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: MENU ERROR WITH 2007
Posted: Fri Feb 11, 2011 08:46 AM

the August 2010.

Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: MENU ERROR WITH 2007
Posted: Fri Feb 11, 2011 04:40 PM
Daniel,

I found on whatsnew file


January 2010

* Fix: Class TMenuItem Method SetPrompt(), 2007 style was not respected.



I have the August 2010 but it not run ...why ?
Best Regards, Saludos



Falconi Silvio
Posts: 422
Joined: Mon Aug 17, 2009 12:18 PM
Re: MENU ERROR WITH 2007
Posted: Mon Mar 21, 2011 10:44 PM

Hi,

Is it fixed?.

See also viewtopic.php?f=3&t=20806&p=111029&hilit=bug#p111029

Thank you.

Saludos,



Eduardo
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: MENU ERROR WITH 2007
Posted: Tue Mar 22, 2011 10:27 AM

I saw it run ok on last release
it is not fixed on old relases

Best Regards, Saludos



Falconi Silvio

Continue the discussion