Possible to change fonts in Buttonbars ?

Possible to change fonts in Buttonbars ?

Postby ukoenig » Tue Jan 06, 2009 7:32 pm

Hello,

this question was dated already some month ago about this problem :
Is it possible to make the font of the buttonbar variable for higher screen-resolutions
and adjust to the size of different Buttonbars ?

The lines in ButtonBmp ( contains a fixed font ) :

Code: Select all  Expand view

if ::l2007
      if ::lBarBtn
         if ::oWnd:oFont != nil
            if ::oWnd:oFont:cFaceName != "Tahoma"
               DEFINE FONT oFont NAME "Tahoma" SIZE 0, -11
               ::oWnd:SetFont( oFont )
            endif
         else
            DEFINE FONT oFont NAME "Tahoma" SIZE 0, -11
            ::oWnd:SetFont( oFont )
         endif
      else
....
....



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] and 82 guests