Page 1 of 1
Color within DCBROWSE
Posted: Mon Sep 27, 2010 2:49 pm
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
Re: Color within DCBROWSE
Posted: Mon Sep 27, 2010 11:03 pm
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.
Re: Color within DCBROWSE
Posted: Tue Sep 28, 2010 10:48 am
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
Re: Color within DCBROWSE
Posted: Wed Sep 29, 2010 12:28 am
by Tom
Re: Color within DCBROWSE
Posted: Wed Sep 29, 2010 6:47 am
by rdonnay
Thanks Tom.
I forgot you had done that.
I will add your stuff to my sample.
Roger