Color within DCBROWSE

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Color within DCBROWSE

#1 Post by RDalzell »

Good day all,

I am unable to have a browse display in the desired color with that attached program.

The color selection appears properly on the selection button as well as when printed, just not within the browse.

Any suggestions are greatly appreciated,

Rick
Attachments
Test.Zip
(232.94 KiB) Downloaded 686 times

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Color within DCBROWSE

#2 Post by skiman »

Hi Rick,

Roger has been working on this. He added this possibility to the dcbrowse class. I expect that it will be released soon. While testing there was something with the zebra stripes from Jack Duijf.
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Color within DCBROWSE

#3 Post by rdonnay »

Rick -

Attached are some new files.
Put the OWNERDRAW.* files in \exp19\samples\browse directory.

Put the _DC*.prg files in \exp19\source\dclipx directory.
Rebuild dclipx.dll by running build19_sl1.bat.

This is my first attempt at adding ownerdraw to browse cells.
It lets you use a code block to create your own ownerdraw routine.
I will provide better samples in the future.
This is functionally identical to Diego's contribution but works with eXpress++ DCBROWSE.

Roger
Attachments
OWNERDRAW.zip
(64.66 KiB) Downloaded 729 times
The eXpress train is coming - and it has more cars.

User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Color within DCBROWSE

#4 Post by Tom »

You may also take a look at what I did here:

http://bb.donnay-software.com:8080/phpB ... ?f=2&t=279
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Color within DCBROWSE

#5 Post by rdonnay »

Thanks Tom.

I forgot you had done that.
I will add your stuff to my sample.

Roger
The eXpress train is coming - and it has more cars.

Post Reply