Background Colors in Multirow Browsing

This forum is for eXpress++ general support.
Post Reply
Message
Author
Leon Berger
Posts: 36
Joined: Thu Jan 28, 2010 2:30 pm

Background Colors in Multirow Browsing

#1 Post by Leon Berger »

Hi from Vienna,

how can I change the backgroundcolor of a cell in a multirow dcbrowse?

Regards
Leon
Best regards
Leon

User avatar
PedroAlex
Posts: 231
Joined: Tue Feb 09, 2010 3:06 am

Re: Background Colors in Multirow Browsing

#2 Post by PedroAlex »

Leon, try this

DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR { Nil, GraMakeRGBColor({255,255,224}) }


Regards
Pedro
Pedro Alexandre

Leon Berger
Posts: 36
Joined: Thu Jan 28, 2010 2:30 pm

Re: Background Colors in Multirow Browsing

#3 Post by Leon Berger »

comercial wrote:DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR { Nil, GraMakeRGBColor({255,255,224}) }
Thanks Pedro, but this does not work in a multirow browse, only in a singlerow browse.

Leon
Best regards
Leon

User avatar
PedroAlex
Posts: 231
Joined: Tue Feb 09, 2010 3:06 am

Re: Background Colors in Multirow Browsing

#4 Post by PedroAlex »

Leon.

Try this

DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR {|| { Nil, GraMakeRGBColor({144,238,144}) } }

Regards
Pedro
Pedro Alexandre

Leon Berger
Posts: 36
Joined: Thu Jan 28, 2010 2:30 pm

Re: Background Colors in Multirow Browsing

#5 Post by Leon Berger »

comercial wrote:Try this

DCBROWSECOL FIELD FOCAB->NUMERO HEADER "Codigo" PARENT oBrowFObra WIDTH 4 COLOR {|| { Nil, GraMakeRGBColor({144,238,144}) } }
Pedro, no chance. I got the new color, but all data in the cell are painted 2 times.

Leon
Best regards
Leon

User avatar
PedroAlex
Posts: 231
Joined: Tue Feb 09, 2010 3:06 am

Re: Background Colors in Multirow Browsing

#6 Post by PedroAlex »

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
Pedro Alexandre

Leon Berger
Posts: 36
Joined: Thu Jan 28, 2010 2:30 pm

Re: Background Colors in Multirow Browsing

#7 Post by Leon Berger »

Many thanks Pedro, i got some help and solved at least the problem with a subclass and ownerdraw ;-)

Regards
Leon
Best regards
Leon

Post Reply