FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Ideas for the ribbon class
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Ideas for the ribbon class
Posted: Tue Sep 29, 2009 02:14 PM
I tried to modify the ribbon class to insert a circular button and a small buttonbar on top ( with the possibilty to insert small buttons on it)

this is the result





First problem : the circular button is not transparent



Second problem :the small buttonbar is not as small bar of ribbonbar of the office bar 2007


It must be as this picture


but I not found a solution to create it with polypoligon function




What I made ?

I add these DATA

DATA oBtnCircular
DATA oBtnSmallBar


And on New Method I add these Lines :


// to create small bar

::oBtnSmallBar1 := TRBGroup():New(self, 1, 60,;
30, ::nRight , ;
2, , , , ,,;
::hBrushEx, , , , Self, )



// to create circular button

::oBtnCircular := TRBtn():New(2, 2, 50, 50, "c:\work\fwh\bitmaps\btnstr0.bmp", ;
, Self )


then I try to insert button on small buttonbar But I think this must be made with other commands

::oBtnSmallBar1: AddButton( 2, 2, 28, 20, , ;
,, , "C:\work\FWH\bitmaps\16x16\new2.bmp", , ;
.t., , , , , )


::oBtnSmallBar1: AddButton( 2, 32, 28, 20, , ;
,, , "C:\work\FWH\bitmaps\16x16\save.bmp", , ;
.t., , , , , )

::oBtnSmallBar1: AddButton( 2, 60, 28, 20, , ;
,, , "C:\work\FWH\bitmaps\16x16\inspect.bmp", , ;
.t., , , , , )

::oBtnSmallBar1: AddButton( 2, 60, 28, 20, , ;
,, , "C:\work\FWH\bitmaps\16x16\inspect.bmp", , ;
.t., , , , , )


but it is only my idea ..Antonio and Daniel could modify it ...
Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Ideas for the ribbon class
Posted: Tue Sep 29, 2009 03:11 PM
There are no problems, to place Alpha-Blended-BMP's inside a Ribbonbar or Group
Also it is possible, to paint any small Gradient-Bars on a Ribbonbar.



The same Buttons, used for a Buttonbar Style 2007.
Position, height and length can be defined.



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Ideas for the ribbon class
Posted: Tue Sep 29, 2009 04:32 PM
Uwe ,
Sorry but I not insert a button on ribbon bar ...look my message please first to write this
Do U understand what I mean to create ?

I want create this :
Best Regards, Saludos



Falconi Silvio
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Ideas for the ribbon class
Posted: Wed Sep 30, 2009 02:34 PM
RibbonBar: Application button, Quickaccess toolbar

Hello Silvio,

The Application button and a Quickaccess toolbar are really missing.
But I think we should ask FIVETECH about their plans before.
Does FIVETECH plan to add an Application button and a Quickaccess toolbar?
If yes what will be the timeframe?

Best regards,
Otto
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Ideas for the ribbon class
Posted: Fri Oct 02, 2009 04:49 PM

Otto,

Yes, we are going to add those missing functionalities as soon as possible :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Ideas for the ribbon class
Posted: Fri Oct 02, 2009 07:45 PM

Antonio,
I see on ribbonclass there is a method to show a popup window but I not Know How show it if I click on the black arrow
the method is PopupGroup() of trbgroup

Best Regards, Saludos



Falconi Silvio

Continue the discussion