15 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +1
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 3
- Posts with Upvotes
- 1
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: You need to assign the image list to the viewlist after you are done adding to _imgList. For Each dirFile As String In dirFiles Dim imgFilename As String = IO.Path.GetFileNameWithoutExtension(dirFile) Dim img As New System.Drawing.Bitmap(dirFile) Dim imgImage As Image = Image.FromFile(dirFile) _imgList.ImageSize = imgSize _imgList.Images.Add(img.Clone) ListView1.Items.Add(imgFilename, count) count += 1 … | |
Re: At the end of the subs you are overriding the conditional test. The buttons are going to be yellow no matter what. **Not even sure this is what you are trying to solve as there is no info about the problem!** |