B
booboo_US
Guest
Hi Everyone:
I am using VB.NET 2019. I had asked a question several days ago about a combobox for a datagridview and did not get correct solution, so, I decided to change the way my application works. Therefore, here is a new question.
I have an unbound datagridview with two columns. Column 1 is a DataGridViewComboBoxColumn and has 4 items {"Car", "Bike", "BUS", "Plane"}. Column 2 is a DataGridViewImageColumn. Also, on my form I have an imagelist that has the pictures of a car, bike, bus, train. Now, once the dropdown of the combobox is down, I want as I move the mouse cursor over the dropdownlist, depending on which item the mouse is over to display the proper image in the image column of the same row. I hope this makes sense.
I would appreciate the source code to do that. I tried to look online, but I could not find anything similar. Thank you.
Bob
Continue reading...
I am using VB.NET 2019. I had asked a question several days ago about a combobox for a datagridview and did not get correct solution, so, I decided to change the way my application works. Therefore, here is a new question.
I have an unbound datagridview with two columns. Column 1 is a DataGridViewComboBoxColumn and has 4 items {"Car", "Bike", "BUS", "Plane"}. Column 2 is a DataGridViewImageColumn. Also, on my form I have an imagelist that has the pictures of a car, bike, bus, train. Now, once the dropdown of the combobox is down, I want as I move the mouse cursor over the dropdownlist, depending on which item the mouse is over to display the proper image in the image column of the same row. I hope this makes sense.
I would appreciate the source code to do that. I tried to look online, but I could not find anything similar. Thank you.
Bob
Continue reading...