K
Kevin
I've created a custom class that inherits from the
DataGridViewTextBoxColumn and DataGridViewTextBoxCell. The cell is
databound to a text field that contains the path to a JPG image. The
JPG image is displayed in the cell if the picture is present on the
harddrive using Protected Overloads Overrides Sub Paint.
The problem is that the image is only displayed in the cell when the
cell receives the focus.
How can I get it to paint the picture in each visible row without the
row receiving focus first?
DataGridViewTextBoxColumn and DataGridViewTextBoxCell. The cell is
databound to a text field that contains the path to a JPG image. The
JPG image is displayed in the cell if the picture is present on the
harddrive using Protected Overloads Overrides Sub Paint.
The problem is that the image is only displayed in the cell when the
cell receives the focus.
How can I get it to paint the picture in each visible row without the
row receiving focus first?