Hi from Vienna,
how can I change the backgroundcolor of a cell in a multirow dcbrowse?
Regards
Leon
Background Colors in Multirow Browsing
-
- Posts: 36
- Joined: Thu Jan 28, 2010 2:30 pm
Background Colors in Multirow Browsing
Best regards
Leon
Leon
Re: Background Colors in Multirow Browsing
Leon, try this
DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR { Nil, GraMakeRGBColor({255,255,224}) }
Regards
Pedro
DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR { Nil, GraMakeRGBColor({255,255,224}) }
Regards
Pedro
Pedro Alexandre
-
- Posts: 36
- Joined: Thu Jan 28, 2010 2:30 pm
Re: Background Colors in Multirow Browsing
Thanks Pedro, but this does not work in a multirow browse, only in a singlerow browse.comercial wrote:DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR { Nil, GraMakeRGBColor({255,255,224}) }
Leon
Best regards
Leon
Leon
Re: Background Colors in Multirow Browsing
Leon.
Try this
DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR {|| { Nil, GraMakeRGBColor({144,238,144}) } }
Regards
Pedro
Try this
DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR {|| { Nil, GraMakeRGBColor({144,238,144}) } }
Regards
Pedro
Pedro Alexandre
-
- Posts: 36
- Joined: Thu Jan 28, 2010 2:30 pm
Re: Background Colors in Multirow Browsing
Pedro, no chance. I got the new color, but all data in the cell are painted 2 times.comercial wrote:Try this
DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR {|| { Nil, GraMakeRGBColor({144,238,144}) } }
Leon
Best regards
Leon
Leon
Re: Background Colors in Multirow Browsing
Leon.
Post your dcbrowseline code , and a picture to see the aspect.
I use this sample :
DCBROWSECOL DATA { {|| FOCAB->NOPREC }, {|| FOCAB->MATRICULA}} HEADER "Recebido/Matricula" PARENT oBrowFObra WIDTH 12 COLOR {|| { Nil, GraMakeRGBColor({173,216,230}) } }
and it works fine ..
regards
pedro
Post your dcbrowseline code , and a picture to see the aspect.
I use this sample :
DCBROWSECOL DATA { {|| FOCAB->NOPREC }, {|| FOCAB->MATRICULA}} HEADER "Recebido/Matricula" PARENT oBrowFObra WIDTH 12 COLOR {|| { Nil, GraMakeRGBColor({173,216,230}) } }
and it works fine ..
regards
pedro
Pedro Alexandre
-
- Posts: 36
- Joined: Thu Jan 28, 2010 2:30 pm
Re: Background Colors in Multirow Browsing
Many thanks Pedro, i got some help and solved at least the problem with a subclass and ownerdraw 
Regards
Leon

Regards
Leon
Best regards
Leon
Leon