Search found 30 matches: bbkcolor

Return to advanced search

Re: Colorear header y/o footer de solo una columna

... 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 PintaCelula( _nRow_, _nCol_, _status_, _qCol_ ) ...
by D.Fernandez
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: 627

PROBLEMAS CON EL TWBROWSE

... ::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 ::DispEnd( aInfo ...
by ROBER68
Fri Jun 21, 2013 5:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMAS CON EL TWBROWSE
Replies: 1
Views: 926

Problemas al crear la libreria TWBROWSE

... 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_parnl( ...
by ander7319
Fri Jan 04, 2013 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al crear la libreria TWBROWSE
Replies: 6
Views: 2855

Re: Wbrowse de Hernan modificado Harbour BCC,MVC y MINGW

... ///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 ancho de la cabecera del browse
by Andrés González
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: 12194

Re: Color For Listbox

oTbw:bBkColor := {|nRow,nCol,nStyleLine| if(nStyleLine=0, nBckGrd(oTbw), if( nStyleLine =3 , nRGB( 64, 64, 255 ), BRW_HEADER )) } nStyleLine=3 (Header) Thanks For Your Help The example changes the colour of the content of the ...
by dutch
Fri Mar 16, 2012 6:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color For Listbox
Replies: 12
Views: 3381

Re: Color For Listbox

Where do I put the above for oLbx ? oTbw:bBkColor := {|nRow,nCol,nStyleLine| if(nStyleLine=0, nBckGrd(oTbw), if(nStyleLine=3 , nRGB( 64, 64, 255 ), BRW_HEADER )) } I tried to change Tbw/Brw to Lbx, but it does not work for oLbx. Regards ACWoo ...
by dutch
Thu Mar 15, 2012 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color For Listbox
Replies: 12
Views: 3381

Re: Color For Listbox

... COLOR_HIGHLIGHT ) // COLOR_BTNSHADOW ) // by CeSoTech ::nClrNFFore := ::nClrForeFocus // by CeSoTech Where do I put the above for oLbx ? oTbw:bBkColor := {|nRow,nCol,nStyleLine| if(nStyleLine=0, nBckGrd(oTbw), if(nStyleLine=3 , nRGB( 64, 64, 255 ), BRW_HEADER )) } I tried to change Tbw/Brw ...
by acwoo1
Thu Mar 15, 2012 4:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color For Listbox
Replies: 12
Views: 3381

Re: Un tercer color en efecto pijama de Listbox

... //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==0 .and. nCol==1, ; GETSYSCOLOR(COLOR_BTNFACE), ; If( nCol==1 .AND. nStyle=3 .AND. !oBArt:lCellStyle, ; GETSYSCOLOR(COLOR_BTNFACE),))} ...
by ACC69
Fri Nov 18, 2011 10:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un tercer color en efecto pijama de Listbox
Replies: 18
Views: 5331

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... 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_parnl( ...
by alex_cyr
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: 2631

Re: Clases y Prgs

... 480,200 ; HEADERS "Apellido y Nombres y Direccion",; "Telefono", "Edad" ; SIZES 250,50,50 oWnd:oClient:= oLbx oLbx:bBkColor:= {|nRow,nCol,nStyle| If( nStyle==0 .and. nCol==2, ; CLR_YELLOW, ) } oLbx:lAdjLastCol := .F. oLbx:nLineStyle := 2 oLbx:bSeek := {|lRet| oLbx:DbfSeek(.T.) ...
by servicomver
Thu Nov 11, 2010 11:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clases y Prgs
Replies: 11
Views: 3840

Re: Un tercer color en efecto pijama de Listbox

Pedro, que bueno que ya te funciono, nomas como comentario adicional y se me paso decirtelo, en cada funcion tanto de colorcelda como en el bloque bBkColor hay que ir priorizando las condicionantes correctamente para que te vaya respetando el pintado, me paso que yo las puse como me dio la gana ...
by Francisco Horta
Fri Jan 29, 2010 2:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un tercer color en efecto pijama de Listbox
Replies: 18
Views: 5331

Re: Un tercer color en efecto pijama de Listbox

... //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==0 .and. nCol==1, ; GETSYSCOLOR(COLOR_BTNFACE), ; If( nCol==1 .AND. nStyle=3 .AND. !oBArt:lCellStyle, ; GETSYSCOLOR(COLOR_BTNFACE),))} ...
by Francisco Horta
Thu Jan 28, 2010 4:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un tercer color en efecto pijama de Listbox
Replies: 18
Views: 5331

Re: Un tercer color en efecto pijama de Listbox

... en celda activa, en footers, en browse normal... caso 1 http://img15.imageshack.us/img15/3006/brw1.jpg aqui el codigo: oBrw[x]:bBkColor := { | nRow, nCol, nStyleLine | ColoresCelda( nRow, nCol, nStyleLine, oFolder ) } oBrw[x]:bTextColor := { | nRow, nCol, nStyleLine | ColoresTexto( ...
by Francisco Horta
Thu Jan 28, 2010 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un tercer color en efecto pijama de Listbox
Replies: 18
Views: 5331

Re: Columnas con diferente presentación en un mismo TWBrowse

Fernando, puedes utilizar (como ejemplo) oLbx:bBkColor := {|nRow,nCol,nStyle| colorea( nRow, nCol, nStyle ) } oLbx:bFont := {|nRow,nCol,nStyle| IF( nStyle=1, oFont:hfont, ) } donde la funcion colorea(...) devolvera el color respectivi bajo las condiciones ...
by Marcelo Via Giglio
Mon Dec 07, 2009 1:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Columnas con diferente presentación en un mismo TWBrowse
Replies: 2
Views: 507

Re: Colorear columna

Excelete. jeje

surGom wrote:Gracias GoosFancito, así lo resolvi:
oLbx:bBkColor:= {|nRow,nCol,nStyle| If( nStyle==0 .and. nCol==nColumna,RGB(223,227,247), ) }

Luis
by goosfancito
Sun Apr 26, 2009 12:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colorear columna
Replies: 4
Views: 625
Next

Return to advanced search