W
wooster11
Hi All,
Hopefully you can help me out with this. I'm finding some really
odd behavior with a listview that I have on a form.
I have a list view that lists items in different colors based on the
status of that item (finished = black, error = red, etc...)
When my list view has multiple items of different colors, those that
are of the changed color (red) will switch to black when I click on an
empty row of the list view. For example, let's say I have one red item
and one black item, rows 1 and 2 respectively. I'm in the details view
(but it can be recreated using the list view also). When the list view
loads, everything is displayed properly with row 1 being red, and row 2
being black. If I click on an empty row (I don't allow editing), or
actually the empty part of the list view, the color of the first item
(currently red), changes to the default color, which is black or Window
Text. The funny thing is this. If I then click on the 2nd item (the
one that's supposed to be black), the first item turns back to it's red
color. I can't explain it. It only loses its color when the list view
is clicked where there are no items in it.
I've found a bug that's somewhat similar on MSDN
(http://support.microsoft.com/default.aspx?scid=kb;en-us;814734), but
it's not the same issue. It could definitely be related though.
Any help would be appreciated. If you want, I can send some screen
shots of the behavior. Just send me an email at (e-mail address removed)
and I will reply back with the images. Thanks.
Derek Woo
Hopefully you can help me out with this. I'm finding some really
odd behavior with a listview that I have on a form.
I have a list view that lists items in different colors based on the
status of that item (finished = black, error = red, etc...)
When my list view has multiple items of different colors, those that
are of the changed color (red) will switch to black when I click on an
empty row of the list view. For example, let's say I have one red item
and one black item, rows 1 and 2 respectively. I'm in the details view
(but it can be recreated using the list view also). When the list view
loads, everything is displayed properly with row 1 being red, and row 2
being black. If I click on an empty row (I don't allow editing), or
actually the empty part of the list view, the color of the first item
(currently red), changes to the default color, which is black or Window
Text. The funny thing is this. If I then click on the 2nd item (the
one that's supposed to be black), the first item turns back to it's red
color. I can't explain it. It only loses its color when the list view
is clicked where there are no items in it.
I've found a bug that's somewhat similar on MSDN
(http://support.microsoft.com/default.aspx?scid=kb;en-us;814734), but
it's not the same issue. It could definitely be related though.
Any help would be appreciated. If you want, I can send some screen
shots of the behavior. Just send me an email at (e-mail address removed)
and I will reply back with the images. Thanks.
Derek Woo