Problems when upgrading from 10.06 -> 10.08

Re: Problems when upgrading from 10.06 -> 10.08

Postby PeterHarmes » Wed Sep 08, 2010 2:29 pm

Antonio,

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

Regards,

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Problems when upgrading from 10.06 -> 10.08

Postby Antonio Linares » Wed Sep 08, 2010 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problems when upgrading from 10.06 -> 10.08

Postby Antonio Linares » Tue Sep 14, 2010 10:14 am

Pete,

In FWH 10.8 this change was introduced in Class TWindow line 1344:
Code: Select all  Expand view  RUN

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

Re: Problems when upgrading from 10.06 -> 10.08

Postby norberto » Tue Sep 14, 2010 7:13 pm

Hi Antonio, i am using fwh108, set 07, i need apply this fix?
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 45 guests