Dcbrowsecol Multirow strange behavior

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Dcbrowsecol Multirow strange behavior

#1 Post by PedroAlex »

Hi Roger,

I need use DcbrowseCol Multirow and color, but something doesn't work as expected.

Can you help with this!?

Attached sample..
Attachments
Teste_2023.rar
(201.33 KiB) Downloaded 589 times
Pedro Alexandre

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

Re: Dcbrowsecol Multirow strange behavior

#2 Post by rdonnay »

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.
The eXpress train is coming - and it has more cars.

Post Reply