FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Video โ€“ xBrowser SelFont() for columns visually
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Video โ€“ xBrowser SelFont() for columns visually
Posted: Fri Dec 14, 2007 09:51 PM
http://www.atzwanger.com/fwvideo/xbtool/xBToolSelFont.html

Add these changes to xBrowser-class

METHOD SelFont(nSelCol) CLASS TXBrowse

local oFont, n

DEFINE FONT oFont FROM USER

IF nSelCol = 0
if oFont:cFaceName != "SYSTEM_FONT"

for n = 1 to Len( ::aCols )
::aCols[ n ]:oDataFont = oFont
next

::Refresh()
endif

else
::aCols[nSelCol ]:oDataFont = oFont
::Refresh()
endif


return nil

Continue the discussion