Datagrid - Windows Forms - Can't see what is in the grid

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

The grid has rows but you can't see them. You see the grid but all rows are
completly blue but when you click on a column in the row you see the text
that is in the row. I sprinkled datagrid.refresh and application.doevents
around but it did not help. It seems like it's memory or video card related.
An intersting note is that when this happens when I am on my Dell
workstation at the office but when I vpn to that Dell workstation from home
I do not get the error.
 
Richard said:
The grid has rows but you can't see them. You see the grid but all rows are
completly blue but when you click on a column in the row you see the text
that is in the row. I sprinkled datagrid.refresh and application.doevents
around but it did not help. It seems like it's memory or video card related.
An intersting note is that when this happens when I am on my Dell
workstation at the office but when I vpn to that Dell workstation from home
I do not get the error.

Sounds like you are having a forecolor vs background coloring issues.
Are you custom painting?

Chris
 
Richard,

I have seen in this newsgroup that Herfried has often pointed people on the
use of the video adapter (drivers) in this kind of issues. Mostly he was
right.

I hope this helps,

Cor
 
Back
Top