Hello,
I just implement a custom control that extends from DataGridView, every cell
has different background. I found a problem, for now it seems to be erasing
background incorrectly after selecting a cell, when switch to different
application(hit Alt+Tab) and then once more to back. The background of
selected cell will be consistently rendered to a color, rather than the
dynamically configured one. If I select another cell after switching, the
previously selected cell's background will be rendered to be correct color
then.
Thanks
zlf - 25 Aug 2007 17:58 GMT
Resolved. Execute ClearSelection() in CellSelection event will be ok.
"zlf" <zlfcn@hotmail.com> дÈëÏûÏ¢ÐÂÎÅ:%23kIjVEy5HHA.2312@TK2MSFTNGP06.phx.gbl...
> Hello,
> I just implement a custom control that extends from DataGridView, every
[quoted text clipped - 7 lines]
>
> Thanks
zlf - 31 Aug 2007 05:13 GMT
It occurs again:(, not so frequently but indeed occurs sometime. It occurs
when I resize some columns too.
Plz help me, thx
zlf
"zlf" <zlfcn@hotmail.com> дÈëÏûÏ¢ÐÂÎÅ:%23tPt7kz5HHA.5984@TK2MSFTNGP04.phx.gbl...
> Resolved. Execute ClearSelection() in CellSelection event will be ok.
>
[quoted text clipped - 10 lines]
>>
>> Thanks