Video – xBrowser SelFont() for columns visually

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Video – xBrowser SelFont() for columns visually

Post 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
Post Reply