|
-
May 9th, 2013, 01:32 AM
#1
Thread Starter
Addicted Member
default image on DGV cell
I have a DGV that is connected to a dataset from a inbuilt vb database
I have 3 columns that are images i have set the default image for these in the edit columns box but when i load the form the default image in these 3 columns
are still the standard red cross images not my chosen default images
Each row has 5 columns here is a lay out just incase it helps someone explain a answer for me
1 = image
2 = varchar
3 = varchar
4 = image
5 = image
So how can i set these 3 image Columns default image.
-
May 9th, 2013, 02:37 AM
#2
Re: default image on DGV cell
Black mark against your name for not taking 30 seconds to read the documentation:
 Originally Posted by MSDN
The Image property specifies an image that is displayed in cells with no values when the column is not data-bound and the cell's ValueIsIcon property is set to false. For a data-bound column whose cells do not have an associated image, a standard error graphic is displayed.
That said, I just tried setting the Image property of image columns in an unbound grid (both in the designer and in code) and the same thing happens, so either there's something I'm missing or the documentation is lying.
-
May 9th, 2013, 03:08 AM
#3
Thread Starter
Addicted Member
Re: default image on DGV cell
I believe it may be a BUG lol
I did read the documentation i just thought the whole part of
For a data-bound column whose cells do not have an associated image, a standard error graphic is displayed.
meant you could associate a image to the cell some how
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|