FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour RIBBON NATIVA AVANCES
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: RIBBON NATIVA AVANCES
Posted: Mon Nov 23, 2009 03: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
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: RIBBON NATIVA AVANCES
Posted: Mon Nov 23, 2009 12:22 PM

Antonio, great, can this new bottons have transparent clause?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: 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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Mon Nov 23, 2009 12:30 PM

Norbeto,

Yes, Class TRBtn supports transparent painting :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 77
Joined: Sun Aug 26, 2007 11:53 PM
Re: RIBBON NATIVA AVANCES
Posted: Mon Nov 23, 2009 10:54 PM
Excellent. Thank you.



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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: 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
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: RIBBON NATIVA AVANCES
Posted: Sun Dec 27, 2009 06: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
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Sun Dec 27, 2009 08: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Tue Dec 29, 2009 04:06 AM
Bayron,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 01: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
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 07: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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 09: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
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 06:20 PM

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
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 06:42 PM
Otto,

This change in Class TRBtn fixes it:
Code (fw): Select all Collapse
                  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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: RIBBON NATIVA AVANCES
Posted: Sun Jan 03, 2010 06: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