New FWH 7.10
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
ButtonBar 2007 style
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.
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
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
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.
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
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
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 :-
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.
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
697: if Upper( ::oWnd:ClassName() ) == "TBAR" .and. ::oWnd:l2007
<< statements >>
734: // return nil
735: 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.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: