Video – xBrowser SelFont() for columns visually

Video – xBrowser SelFont() for columns visually

Postby Otto » Fri Dec 14, 2007 9: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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 76 guests