Issue With Darag and Drop Image and contaner : VB 2005
-
Hello every One, I have a Vb.net 2005 express application. I will like to define the issue in two folds - I have to create a controls with many rows and 2 columns having thumbnails. I am not able to decide which control should i use (datagridview or a list view). I had done some experiment with grid and able to do it, but i want to have some text along with the image in same cell only. Is it possible, if so how do i do it. I had declared the col type as imagecol. - I want to do a drag and drop of image(thumbnail) from one cell to another along with the text. I was able to do drag and drop in 2 individual controls (2 picture box and two text boxes) but having some issues. Can some one plz guide me with the same. Regards Nishkarsh
-
Hello every One, I have a Vb.net 2005 express application. I will like to define the issue in two folds - I have to create a controls with many rows and 2 columns having thumbnails. I am not able to decide which control should i use (datagridview or a list view). I had done some experiment with grid and able to do it, but i want to have some text along with the image in same cell only. Is it possible, if so how do i do it. I had declared the col type as imagecol. - I want to do a drag and drop of image(thumbnail) from one cell to another along with the text. I was able to do drag and drop in 2 individual controls (2 picture box and two text boxes) but having some issues. Can some one plz guide me with the same. Regards Nishkarsh
I would probably do this with a ListView, possibly owner drawn. Just Google for "custom draw listview" for examples. For an example of creating custom image and text cursors for drag and drop, see this article[^].
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008