FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problems when upgrading from 10.06 -> 10.08
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Problems when upgrading from 10.06 -> 10.08
Posted: Wed Sep 08, 2010 02:29 PM

Antonio,

Example sent to you - let me know if you havent received it.

Regards,

Pete

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problems when upgrading from 10.06 -> 10.08
Posted: Wed Sep 08, 2010 05:24 PM

Pete,

We have just now sent you new libs to test the menuitems painting there, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problems when upgrading from 10.06 -> 10.08
Posted: Tue Sep 14, 2010 10:14 AM
Pete,

In FWH 10.8 this change was introduced in Class TWindow line 1344:
Code (fw): Select all Collapse
         MenuMeasureItem( pMitStruct,;
                          0.9 * GetTextWidth( 0, If( ! Empty( oItem:cPrompt ),;
                          StrTran( oItem:cPrompt, "&", "" ), "" ) ) + ;
                          If( oItem:oMenu:hMenu != If( ::oMenu != nil, ::oMenu:hMenu, 0 ), 30, 0 ),;
                          Empty( oItem:cPrompt ) )

Just replace 30 with 100 (the value that was there before) and the menuitems paiting should be ok :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: Problems when upgrading from 10.06 -> 10.08
Posted: Tue Sep 14, 2010 07:13 PM

Hi Antonio, i am using fwh108, set 07, i need apply this fix?

Continue the discussion