Page 1 of 1
Dcbrowsecol Multirow strange behavior
Posted: Thu Feb 13, 2020 10:18 am
I need use DcbrowseCol Multirow and color, but something doesn't work as expected.
Can you help with this!?
Re: Dcbrowsecol Multirow strange behavior
Posted: Sun Feb 16, 2020 11:49 am
Multi Row browsing was added to DCBROWSE about 18 years ago, long before Alaska supported owner drawing.
I had to do a lot of hacking to even make this work and I guess that I never supported color changes.
I recall having a lot of problems with this.
This is code that I don't want to touch because I fear breaking the browsing system.
Instead, I suggest that you look at the OWNERDRAW.PRG, CALENDAR.PRG and GENERIC.PRG samples.
These are much more robust and will work as expected.
They allow you to change colors, fonts, or position of data based on the value in a cell.