I have some troubles with multirow browse and visualstyle and/or changed colors:
1. example is the sample multirow without changes:
2. example with visualstyle:
3. example with changed colors:
Last example with changed colors and visualstyle:
It looks strange. Is there a fix available?
Regards from Vienna
Leon
Multirow DcBrowse with Visualstyle looks strong
-
- Posts: 36
- Joined: Thu Jan 28, 2010 2:30 pm
Multirow DcBrowse with Visualstyle looks strong
Best regards
Leon
Leon
Re: Multirow DcBrowse with Visualstyle looks strong
Hi, Leon.
I worked with Michael (Rudrich) on a custom multirow class to get toggled background colors working, and I refined this class to show different fonts in cells within the same columns and even to show icons for example (see screenshot). The possibilities of this - very specialized - class end at "visualstyle" (so I don't use visual styles in this class). I guess, using "CustomDrawCell" would lead into the right direction. Using visual styles with 1.9/SL1 and Vista or Windows 7 with the Areo Theme lead to the problem that foreground colors for cells are ignored/default to black (as you can see in the sample aswell, browse at the bottom), while background colors still work. Did anyone here play with "CustomDrawCell" already? In my opinion, this method/callback should allow to draw almost anything in a cell, but I had no time to investigate this yet.
Tom.
I worked with Michael (Rudrich) on a custom multirow class to get toggled background colors working, and I refined this class to show different fonts in cells within the same columns and even to show icons for example (see screenshot). The possibilities of this - very specialized - class end at "visualstyle" (so I don't use visual styles in this class). I guess, using "CustomDrawCell" would lead into the right direction. Using visual styles with 1.9/SL1 and Vista or Windows 7 with the Areo Theme lead to the problem that foreground colors for cells are ignored/default to black (as you can see in the sample aswell, browse at the bottom), while background colors still work. Did anyone here play with "CustomDrawCell" already? In my opinion, this method/callback should allow to draw almost anything in a cell, but I had no time to investigate this yet.
Tom.
- Attachments
-
- Colored multirow browse
- multirow.jpg (136.07 KiB) Viewed 7445 times
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Multirow DcBrowse with Visualstyle looks strong
I worked on the Multi-Cell browse many years ago and realized that it was very limited. I also had the same problem with colors. Alaska does not provide the source for the XbpCellGroup class because it was written in C so there was no way to modify its behavior.
You may want to try the Codejock ListBox.
You may want to try the Codejock ListBox.
The eXpress train is coming - and it has more cars.