FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Como cambiar el font en cada linea en xbrowse
Posts: 225
Joined: Tue Feb 28, 2006 04:25 PM
Como cambiar el font en cada linea en xbrowse
Posted: Tue Aug 19, 2008 10:59 PM

En wbrowse de hernan hay un codeblock para es proposito

oLbx:bFont := {|nRow,nCol,nStyleLine| my_SetFont( nRow, nStyleLine , oLbx ,_NOLBX,NOLBX,oFont1,oFont2,condtota ) }

en xbrowse no hay para poner un codeblock ni a nivel de objto
browse ni de objetos columnas.

Gracias

ME INTERESA FW Y XHB POR SER OPEN SOURCE
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Como cambiar el font en cada linea en xbrowse
Posted: Thu Aug 21, 2008 09:49 AM

Vladimir,

oCol:oDataFont := { || ... devolver el font a usar ... }

Ejemplo:

oCol:oDataFont := { || If( ::oBrw:KeyNo() % 2 == 0, oFont, oBold ) }

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion