Page 1 of 1

Possible to change fonts in Buttonbars ?

PostPosted: Tue Jan 06, 2009 7:32 pm
by ukoenig
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: