Page 1 of 1

New FWH 7.10

PostPosted: Mon Oct 08, 2007 9:10 am
by Antonio Linares

ButtonBar 2007 style

PostPosted: Mon Oct 08, 2007 11:29 am
by nageswaragunupudi
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.

PostPosted: Mon Oct 08, 2007 12:00 pm
by Antonio Linares
Do you mean the buttons that have drop down menus ?

PostPosted: Mon Oct 08, 2007 12:06 pm
by nageswaragunupudi
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.

PostPosted: Mon Oct 08, 2007 12:45 pm
by nageswaragunupudi
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 :-
Code: Select all  Expand view
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 !::oWnd: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 ::ownd: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.

PostPosted: Mon Oct 08, 2007 1:16 pm
by Antonio Linares
NageswaraRao,

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

PostPosted: Tue Oct 09, 2007 7:08 am
by Antonio Linares
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

PostPosted: Tue Oct 09, 2007 7:29 am
by nageswaragunupudi
Thanks for your prompt help. Kindly see my mail to you with other issues

PostPosted: Tue Oct 09, 2007 8:50 am
by Antonio Linares
NageswaraRao,

Many thanks for your feedback,

We are going to review it asap

PostPosted: Wed Oct 10, 2007 10:27 am
by Antonio Linares
We have published a new 7.10 build including some late changes on the 2007 look. Please download again, thanks!