FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 7.10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Mon Oct 08, 2007 09:10 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
ButtonBar 2007 style
Posted: Mon Oct 08, 2007 11:29 AM

The new look is very attractive and gives a great look for our applications.

But the disappointing issue is that the menu actions of the buttons is not working any more. Difficult to adopt the new style when we have many buttons with menus.

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Mon Oct 08, 2007 12:00 PM

Do you mean the buttons that have drop down menus ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
New FWH 7.10
Posted: Mon Oct 08, 2007 12:06 PM

Yes. Buttons with drop menus.

When I am trying buttons with drop menus, what I observed is that menu arrow on the right is not painted. But if i click on the right edge of the button the drop down menu is working.

It is only in the painting. If you can review and make the right arrow part of the button visible, we can adopt the new button bar in our production software.

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
New FWH 7.10
Posted: Mon Oct 08, 2007 12:45 PM
Mr Antonio

As I am eager to deliver a revision with the new buttonbars with 2007 look by tomorrow morning, I made a very crude patch to the paint method in TBtnBmp class.

I have commented the return statement at line 734 :-
697: if Upper( ::oWnd:ClassName() ) == "TBAR" .and. ::oWnd:l2007
           << statements >>
734:  // return nil
735:  endif

I have enclosed the code hadling if ::lTransparent from lines 737 to 765 in an if clause " if !::l2007 <exisiting code> ; endif

Now the block "if ::oPopup != nil; <code> ; endif from lines 767 to 789 work even in the case of ::l2007. After this, I introduced " if ::l2007; return nil; endif

This is a very crude patch. May have unknown side affects. But seems to work for me for the immedate purpose.

I shall await your complete patch to make the dropdownmenu button painted as earlier.
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Mon Oct 08, 2007 01:16 PM

NageswaraRao,

Please email me your patched Class TBtnBmp to review it, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Tue Oct 09, 2007 07:08 AM

NageswaraRao,

Your changes had some troubles. We have fixed it and emailed it to you

Please let us know how it works for you, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
New FWH 7.10
Posted: Tue Oct 09, 2007 07:29 AM

Thanks for your prompt help. Kindly see my mail to you with other issues

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Tue Oct 09, 2007 08:50 AM

NageswaraRao,

Many thanks for your feedback,

We are going to review it asap

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 7.10
Posted: Wed Oct 10, 2007 10:27 AM

We have published a new 7.10 build including some late changes on the 2007 look. Please download again, thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion