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

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.
 
C

Chris

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
 
C

Cor Ligthert [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top