RIBBON NATIVA AVANCES

User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: RIBBON NATIVA AVANCES

Post by fraxzi »

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
norberto
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: RIBBON NATIVA AVANCES

Post by norberto »

Antonio, great, can this new bottons have transparent clause?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

Norbeto,

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

Antonio Linares
www.fivetechsoft.com
Jonathan Hodder
Posts: 77
Joined: Sun Aug 26, 2007 11:53 pm

Re: RIBBON NATIVA AVANCES

Post by Jonathan Hodder »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Post by Bayron »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Post by Bayron »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: RIBBON NATIVA AVANCES

Post by Otto »

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

********************************************************************
User avatar
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: RIBBON NATIVA AVANCES

Post by Bayron »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

Otto,

This change in Class TRBtn fixes it:

Code: Select all

                  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: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: RIBBON NATIVA AVANCES

Post by Antonio Linares »

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
Post Reply