B
booboo_US
Guest
Hi:
I am using VB.net 2019. I have a unbound datagridview and one of the columns is a combobox. On my form, I also have an imagelist that has 4 pictures in it. See the sample images below. Is there a way to show the pictures in the comboxbox instead of the text (for the datagridview)?
I know how to show images for a stand alone combobox by using the DrawItem and MesureItem events. However, I could not see similar events for the datagridview.
I would appreciate a sample code. Thank you.
Bob
Continue reading...
I am using VB.net 2019. I have a unbound datagridview and one of the columns is a combobox. On my form, I also have an imagelist that has 4 pictures in it. See the sample images below. Is there a way to show the pictures in the comboxbox instead of the text (for the datagridview)?
I know how to show images for a stand alone combobox by using the DrawItem and MesureItem events. However, I could not see similar events for the datagridview.
I would appreciate a sample code. Thank you.
Bob
Continue reading...