RIBBON NATIVA AVANCES

Re: RIBBON NATIVA AVANCES

Postby fraxzi » Mon Nov 23, 2009 3:40 am

Hello,

Can I put bitmap on 'Ayudas' tab similar to folders?


Regards,
Fraxzi
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: RIBBON NATIVA AVANCES

Postby norberto » Mon Nov 23, 2009 12:22 pm

Antonio, great, can this new bottons have transparent clause?
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Mon Nov 23, 2009 12:30 pm

Frances,

Do you mean to paint small bitmaps on top of tabs ?

That would require to modify the Class TRibbonBar.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Mon Nov 23, 2009 12:30 pm

Norbeto,

Yes, Class TRBtn supports transparent painting :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Jonathan Hodder » Mon Nov 23, 2009 10:54 pm

Excellent. Thank you.

Image

Your brilliance (and Ottos lateral thinking) solved the first question.

And now...
Antonio Linares wrote:
2) We can paint on the title bar using Method NcPaint(), but we prefer not to paint there. Better leave Windows to use that area itself, or we could break the transparencies, etc. used in Windows 7.


Maybe apply your brilliance and reconsider the second problem.
As we can now do alpha channel, transparent is not a problem.
Maybe as an inherited class of TRBtn?

Thanks
Jonathan
Jonathan Hodder
 
Posts: 77
Joined: Sun Aug 26, 2007 11:53 pm

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Tue Nov 24, 2009 12:46 pm

Jonathan,

The problem with Windows 7 is that due the transparencies it uses, text with highlighted border and blur effects, we can not paint the title text the way they do it and if we copy that area and move it to the right side, the transparency, effects, etc will look very bad.

Thats why it is better not to paint on that title area :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Bayron » Sun Dec 27, 2009 6:50 pm

This Ribbon bar is really nice, but from the demo files I noticed that is only functional when the window is maximized or at least bigger than the dialogs containing the buttons.

When the window is smaller than all dialogs combined, some minimize and only the title of the dialog is shown, how do you access the buttons in those dialogs without maximizing the window?;

and in the event that the window isn't big enough to contain all the dialogs even minimized, how do you access the other dialogs that don't fit in the ribbon but that do exist????.....

PS: This ribbon bar will be a nice excuse to upgrade for me...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Sun Dec 27, 2009 8:41 pm

Bayron,

We plan to improve it providing a floating dialog that shows when the group is shrinked, the same way as MS Office does it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Tue Dec 29, 2009 4:06 am

Bayron,

We have published a revised FWH 9.12 that shows popup groups when they get shrinked :-)

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Bayron » Sun Jan 03, 2010 1:49 am

Yes, I have seen them, but still waiting for a couple of checks, I will get in touch soon....

PS: can you post a compiled test to see it's behavior????

Thanks
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Sun Jan 03, 2010 7:15 am

Bayron,

Here you have a compiled test:
http://www.fivetechsoft.com/files/ribbon2.zip

Please use the same folders structured used inside the ZIP file, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Otto » Sun Jan 03, 2010 9:57 am

Hello Antonio,

Clicking on Change Styles the popup appears at the most left side not aligned under the icon Change Styles.
(WIN 7)
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6148
Joined: Fri Oct 07, 2005 7:07 pm

Re: RIBBON NATIVA AVANCES

Postby Bayron » Sun Jan 03, 2010 6:20 pm

Image
When the windows is smaller than the total size of all buttons minimized, Ribbon should have a way to access the rest of buttons not shown, don't you think?

Excelent work.....
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Sun Jan 03, 2010 6:42 pm

Otto,

This change in Class TRBtn fixes it:
Code: Select all  Expand view

                  case ::nTypeButton == TYPE_SPLITPOPUP
                     if nRow >= ::nPopupMargin .or. !lAction
                        oWnd := ::oWnd
                        oWnd:NcMouseMove() // close the tooltip
                        oWnd:oPopup = ::oPopup
                        ::oPopup:Activate( ::nTop + ::nHeight() + ;
                                           If( GetClassName( GetParent( GetParent( ::hWnd ) ) ) != "TRPANEL",;
                                               oWnd:nHeight(), 0 ), ::nLeft, oWnd, .F. )
                        oWnd:oPopup = nil
                        ::Refresh()
                     else
                        ::click()
                     endif
 

Anyhow we have noticed a bug when such group is expanded again. We have to review it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: RIBBON NATIVA AVANCES

Postby Antonio Linares » Sun Jan 03, 2010 6:44 pm

Bayron,

Yes, thanks for your feedback.

We need to keep checking every single feature of the Ribbons until we support all of them and more :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41482
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 23 guests