Some Questions about Ribbonbar-Fonts

Some Questions about Ribbonbar-Fonts

Postby ukoenig » Sat Dec 11, 2010 10:15 am

Hello,

I have some questions about Ribbonbar-Fonts :

( also shows some samples, how to use the new < Tselex - Class > )
A nice Solution, using it inside Ribbonbars.

1. possible, to adjust Tab-with to Font-width ?. Using long Text, the Tab-width is not adjusted to Text-width.
2. possible, to change Fonts at Group-bottom ?

Image

I can add spaces ( left and right ), to adjust the Tab-width :

DEFINE RIBBONBAR oRibbon PROMPTS "MDI-Frame","MDI-Child", ;
"MDI-Buttons", ".....Gradient-Direction.....","Gradient-Pos.", "Color .....

Image

The final Result, adding Spaces to wrong Tab-length :

Image

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Some Questions about Ribbonbar-Fonts

Postby Daniel Garcia-Gil » Sat Dec 11, 2010 11:14 am

Uwe

ukoenig wrote:1. possible, to adjust Tab-with to Font-width ?. Using long Text, the Tab-width is not adjusted to Text-width.

Code: Select all  Expand view
oRibbon:SetFont( oNewFont )
oRibbon:CalcPos()
oRibbon:Refresh()


ukoenig wrote:2. possible, to change Fonts at Group-bottom ?

Code: Select all  Expand view
oGroup:SetFont( oNewFont )
oGroup:Refresh()
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Some Questions about Ribbonbar-Fonts

Postby ukoenig » Sat Dec 11, 2010 12:01 pm

Daniel,

thank You very much. It works perfect now, no Text-spaces needed.
I'm busy, using Your new < TSelex-class >, changing many Radios.
It works great and until now, there are NO problems ( it is a very nice Soluton, replacing Radios ).

Image

Best Regards
Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Horizon, nageswaragunupudi and 60 guests