Page 1 of 1

Video – xBrowser SelFont() for columns visually

Posted: Fri Dec 14, 2007 9:51 pm
by Otto
http://www.atzwanger.com/fwvideo/xbtool ... lFont.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