DataGridView - Adding Images to a Record

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • samadams_2006@yahoo.ca

    #1

    DataGridView - Adding Images to a Record

    Hello,

    I have an unbound DataGridView on a VBForm, and I would like to
    display an icon or image in the first column of a record to indicate
    what type of record it is. For example, error (display an error
    icon), warning (display a warning icon), information (display an
    information icon). I have these icons custom-made in .bmp form, and
    they are the dimensions of a regular icon. I would like to be able to
    use an ImageList on the form to hold these images/icons, and have the
    code access them from this location as opposed to going to the hard-
    drive.

    Can anyone send me a snippet of code, or give me some advice on how to
    do this?

    Thanks
    Sam
  • Cor Ligthert[MVP]

    #2
    Re: DataGridView - Adding Images to a Record

    Don't assume it is easy,

    Maybe this helps a little bit although it is not 100% answering your
    question



    Cor

    Comment

    Working...