Search found 27 matches: btextcolor
Searched query: btextcolor
- Sun Dec 13, 2020 9:49 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cual es el equivalente a olbx:bTextColor en xBrowse ?
- Replies: 2
- Views: 447
Re: Cual es el equivalente a olbx:bTextColor en xBrowse ?
Gracias Francisco, funcionó perfecto
- Sat Dec 12, 2020 6:48 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cual es el equivalente a olbx:bTextColor en xBrowse ?
- Replies: 2
- Views: 447
Re: Cual es el equivalente a olbx:bTextColor en xBrowse ?
gdeteran wrote:Necesito cambiar el color del texto en fila que cumpla una condición.
mira si este post ayuda.
viewtopic.php?f=6&t=29036&hilit=color+texto+en+xbrowse#p163479
Saludos.
- Sat Dec 12, 2020 5:54 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cual es el equivalente a olbx:bTextColor en xBrowse ?
- Replies: 2
- Views: 447
Cual es el equivalente a olbx:bTextColor en xBrowse ?
Necesito cambiar el color del texto en fila que cumpla una condición.
- Mon Apr 06, 2015 1:56 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Colorear header y/o footer de solo una columna
- Replies: 6
- Views: 769
Re: Colorear header y/o footer de solo una columna
... en el Foro y pienso que me
pueden servir. La tengo en un programa que se llama Treepad Lite.
Suerte.
nNumeroDaColunaAColorar := 2
...
oTBLLbx:bTextColor := {|nRow,nCol| CLR_BLACK }
oTBLLbx:bbkColor := {|nRow,nCol| PintaCelula(nRow,nCol,DBF->CAMPO,nNumeroDaColunaAColorar) }
...
Function ...
pueden servir. La tengo en un programa que se llama Treepad Lite.
Suerte.
nNumeroDaColunaAColorar := 2
...
oTBLLbx:bTextColor := {|nRow,nCol| CLR_BLACK }
oTBLLbx:bbkColor := {|nRow,nCol| PintaCelula(nRow,nCol,DBF->CAMPO,nNumeroDaColunaAColorar) }
...
Function ...
- Wed Mar 26, 2014 7:19 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cambiar de Color una linea del LISTBOX
- Replies: 1
- Views: 497
Re: Cambiar de Color una linea del LISTBOX
Te pongo este ejemplo amigo, espero que te sirva, esta hecho con listbox
oLbx4:bTextColor := { | nRow, nCol, nStyleLine | ColoresTexto( nRow, nCol, nStyleLine, oDlg2 ) }
STATIC Function ColoresTexto( pnRow, pnCol, pnStyle, oFolder )
Local cColor, nPaso, i:=0, cCampo:=""
DO CASE
CASE pnStyle = 0 ...
oLbx4:bTextColor := { | nRow, nCol, nStyleLine | ColoresTexto( nRow, nCol, nStyleLine, oDlg2 ) }
STATIC Function ColoresTexto( pnRow, pnCol, pnStyle, oFolder )
Local cColor, nPaso, i:=0, cCampo:=""
DO CASE
CASE pnStyle = 0 ...
- Fri Jun 21, 2013 5:45 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: PROBLEMAS CON EL TWBROWSE
- Replies: 1
- Views: 1076
PROBLEMAS CON EL TWBROWSE
... bLine,;
::aColSizes, ::nColPos, ::nClrText, ::nClrPane,;
If( ::oFont != nil, ::oFont:hFont, 0 ), ::aJustify, ;
::nLineStyle, 0 , .f., ::bTextColor, ::bBkColor, ::nClrLine,;
::oBrush:nRGBColor, ::bFont ) )
#endif
if ::nLen < ::nRowPos
::nRowPos = ::nLen
endif
::DrawSelect()
endif ...
::aColSizes, ::nColPos, ::nClrText, ::nClrPane,;
If( ::oFont != nil, ::oFont:hFont, 0 ), ::aJustify, ;
::nLineStyle, 0 , .f., ::bTextColor, ::bBkColor, ::nClrLine,;
::oBrush:nRGBColor, ::bFont ) )
#endif
if ::nLen < ::nRowPos
::nRowPos = ::nLen
endif
::DrawSelect()
endif ...
- Fri Jan 04, 2013 9:55 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problemas al crear la libreria TWBROWSE
- Replies: 6
- Views: 3374
Problemas al crear la libreria TWBROWSE
... hWnd, hDC, nRow, aText, aSizes, nFirstItem, ;
// nClrFore, nClrBack, hFont, lTree, aJustify, nPressed,
// nStyle, nColAct, lFocused )
// bTextColor, bBkColor, nClrLine, lFooter, lSelect,
// bFont, lDrawFocusRect ) // New's by CesoTech
{
HWND hWnd = (HWND) hb_parnl( 1 );
HDC hDC = (HDC) hb ...
// nClrFore, nClrBack, hFont, lTree, aJustify, nPressed,
// nStyle, nColAct, lFocused )
// bTextColor, bBkColor, nClrLine, lFooter, lSelect,
// bFont, lDrawFocusRect ) // New's by CesoTech
{
HWND hWnd = (HWND) hb_parnl( 1 );
HDC hDC = (HDC) hb ...
- Sun Aug 12, 2012 4:47 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Wbrowse de Hernan modificado Harbour BCC,MVC y MINGW
- Replies: 25
- Views: 13509
Re: Wbrowse de Hernan modificado Harbour BCC,MVC y MINGW
... lo siguiente, pero pierdo la cabecera:
oLbx:lCellstyle:=.t.
///oLbx:nFreeze:=1
oLbx:nlineStyle:=3
///Olbx:aHJustify:={2,2,2,2,2,2}
///olbx:bTextColor:={ |nRow,nCol| if(nCol==1,CLR_BLACK,)}
///olbx:bBkColor:={ |nRow,nCol| if(nCol==1,wClrBack,)}
///olbx:nHeaderHeight:=33 //permite definir el ...
oLbx:lCellstyle:=.t.
///oLbx:nFreeze:=1
oLbx:nlineStyle:=3
///Olbx:aHJustify:={2,2,2,2,2,2}
///olbx:bTextColor:={ |nRow,nCol| if(nCol==1,CLR_BLACK,)}
///olbx:bBkColor:={ |nRow,nCol| if(nCol==1,wClrBack,)}
///olbx:nHeaderHeight:=33 //permite definir el ...
- Fri Nov 18, 2011 10:13 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Un tercer color en efecto pijama de Listbox
- Replies: 18
- Views: 6464
Re: Un tercer color en efecto pijama de Listbox
... jpg
he aqui el codigo
oBCmp:nClrPane := {|| IIF((oBCmp:cAlias)->(OrdKeyNo())%2==0,nRGB(248,248,248),nRGB(220,255,220))} //236,255,236
oBCmp:bTextColor:={|nRow,nCol,nStyleLine| IF(nCol>1 .AND. nStyleLine=0 .AND. (oDCmp)->Status=="C",CLR_HRED,)}
oBCmp:bBkColor := {|nRow,nCol,nStyle| If( nStyle ...
he aqui el codigo
oBCmp:nClrPane := {|| IIF((oBCmp:cAlias)->(OrdKeyNo())%2==0,nRGB(248,248,248),nRGB(220,255,220))} //236,255,236
oBCmp:bTextColor:={|nRow,nCol,nStyleLine| IF(nCol>1 .AND. nStyleLine=0 .AND. (oDCmp)->Status=="C",CLR_HRED,)}
oBCmp:bBkColor := {|nRow,nCol,nStyle| If( nStyle ...
- Sat Jul 09, 2011 2:11 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
- Replies: 7
- Views: 3232
Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
... hWnd, hDC, nRow, aText, aSizes, nFirstItem, ;
// nClrFore, nClrBack, hFont, lTree, aJustify, nPressed,
// nStyle, nColAct, lFocused )
// bTextColor, bBkColor, nClrLine, lFooter, lSelect,
// bFont, lDrawFocusRect ) // New's by CesoTech
{
HWND hWnd = (HWND) hb_parnl( 1 );
HDC hDC = (HDC) hb ...
// nClrFore, nClrBack, hFont, lTree, aJustify, nPressed,
// nStyle, nColAct, lFocused )
// bTextColor, bBkColor, nClrLine, lFooter, lSelect,
// bFont, lDrawFocusRect ) // New's by CesoTech
{
HWND hWnd = (HWND) hb_parnl( 1 );
HDC hDC = (HDC) hb ...
- Thu Jul 29, 2010 4:31 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Necesito un calendario.
- Replies: 2
- Views: 1358
Re: Necesito un calendario.
... nKey| If(nKey==VK_RETURN,EVAL(oBrf:bLDblClick),EVAL(oBrf:bLClicked))}
oBrf:aColSizes :={20,20,20,20,20,20,20}
oBrf:lCellStyle :=.T.
oBrf:bTextColor :={|nRow,nCol,nStyle| IF(nCol=1 .AND. nStyle=0,CLR_HRED,)}
oDlf:lHelpIcon := .f.
REDEFINE BUTTON ID 104 OF oDlf ACTION (lSel:=.T.,oDlf:End ...
oBrf:aColSizes :={20,20,20,20,20,20,20}
oBrf:lCellStyle :=.T.
oBrf:bTextColor :={|nRow,nCol,nStyle| IF(nCol=1 .AND. nStyle=0,CLR_HRED,)}
oDlf:lHelpIcon := .f.
REDEFINE BUTTON ID 104 OF oDlf ACTION (lSel:=.T.,oDlf:End ...
- Thu Jan 28, 2010 4:26 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Un tercer color en efecto pijama de Listbox
- Replies: 18
- Views: 6464
Re: Un tercer color en efecto pijama de Listbox
... jpg
he aqui el codigo
oBCmp:nClrPane := {|| IIF((oBCmp:cAlias)->(OrdKeyNo())%2==0,nRGB(248,248,248),nRGB(220,255,220))} //236,255,236
oBCmp:bTextColor:={|nRow,nCol,nStyleLine| IF(nCol>1 .AND. nStyleLine=0 .AND. (oDCmp)->Status=="C",CLR_HRED,)}
oBCmp:bBkColor := {|nRow,nCol,nStyle| If( nStyle ...
he aqui el codigo
oBCmp:nClrPane := {|| IIF((oBCmp:cAlias)->(OrdKeyNo())%2==0,nRGB(248,248,248),nRGB(220,255,220))} //236,255,236
oBCmp:bTextColor:={|nRow,nCol,nStyleLine| IF(nCol>1 .AND. nStyleLine=0 .AND. (oDCmp)->Status=="C",CLR_HRED,)}
oBCmp:bBkColor := {|nRow,nCol,nStyle| If( nStyle ...
- Thu Jan 28, 2010 4:21 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Un tercer color en efecto pijama de Listbox
- Replies: 18
- Views: 6464
Re: Un tercer color en efecto pijama de Listbox
... 3006/brw1.jpg
aqui el codigo:
oBrw[x]:bBkColor := { | nRow, nCol, nStyleLine | ColoresCelda( nRow, nCol, nStyleLine, oFolder ) }
oBrw[x]:bTextColor := { | nRow, nCol, nStyleLine | ColoresTexto( nRow, nCol, nStyleLine, oFolder ) }
oBrw[x]:bFont := {|nRow,nCol,nStyleLine| SeleccionaFuente ...
aqui el codigo:
oBrw[x]:bBkColor := { | nRow, nCol, nStyleLine | ColoresCelda( nRow, nCol, nStyleLine, oFolder ) }
oBrw[x]:bTextColor := { | nRow, nCol, nStyleLine | ColoresTexto( nRow, nCol, nStyleLine, oFolder ) }
oBrw[x]:bFont := {|nRow,nCol,nStyleLine| SeleccionaFuente ...
- Thu Oct 30, 2008 2:34 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
- Replies: 9
- Views: 1964
- Mon Jun 16, 2008 3:04 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: COlor en las columnas con twbrowse
- Replies: 1
- Views: 487