Page 2 of 3
Re: RIBBON NATIVA AVANCES
Posted:
Mon Nov 23, 2009 3:40 am
by fraxzi
Hello,
Can I put bitmap on 'Ayudas' tab similar to folders?
Regards,
Fraxzi
Re: RIBBON NATIVA AVANCES
Posted:
Mon Nov 23, 2009 12:22 pm
by norberto
Antonio, great, can this new bottons have transparent clause?
Re: RIBBON NATIVA AVANCES
Posted:
Mon Nov 23, 2009 12:30 pm
by Antonio Linares
Frances,
Do you mean to paint small bitmaps on top of tabs ?
That would require to modify the Class TRibbonBar.
Re: RIBBON NATIVA AVANCES
Posted:
Mon Nov 23, 2009 12:30 pm
by Antonio Linares
Norbeto,
Yes, Class TRBtn supports transparent painting
Re: RIBBON NATIVA AVANCES
Posted:
Mon Nov 23, 2009 10:54 pm
by Jonathan Hodder
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
Re: RIBBON NATIVA AVANCES
Posted:
Tue Nov 24, 2009 12:46 pm
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
Re: RIBBON NATIVA AVANCES
Posted:
Sun Dec 27, 2009 6:50 pm
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...
Re: RIBBON NATIVA AVANCES
Posted:
Sun Dec 27, 2009 8:41 pm
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
Re: RIBBON NATIVA AVANCES
Posted:
Tue Dec 29, 2009 4:06 am
by Antonio Linares
Bayron,
We have published a revised FWH 9.12 that shows popup groups when they get shrinked
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 1:49 am
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
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 7:15 am
by Antonio Linares
Bayron,
Here you have a compiled test:
http://www.fivetechsoft.com/files/ribbon2.zipPlease use the same folders structured used inside the ZIP file, thanks
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 9:57 am
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
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 6:20 pm
by Bayron
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.....
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 6:42 pm
by Antonio Linares
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
Re: RIBBON NATIVA AVANCES
Posted:
Sun Jan 03, 2010 6:44 pm
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