FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible to change fonts in Buttonbars ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possible to change fonts in Buttonbars ?
Posted: Tue Jan 06, 2009 07: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 ) :

 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 :-)
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.

Continue the discussion