i just have imagelist1 with 31 icon.
how to show all icon in listview as thumbnail?
NEVER USED IN LISTIEW
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4355
- Joined: 26 Apr 2010, 17:36
Re: NEVER USED IN LISTIEW
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: NEVER USED IN LISTIEW
Do you have a specific reason for wanting to do this with a listview control?
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4355
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4355
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: NEVER USED IN LISTIEW
Place an image control on the form. Copy and paste it 30 times. You now have a control array of 31 images.
Loop through the images of the imagelist control and assign them one by one to an image control.
Loop through the images of the imagelist control and assign them one by one to an image control.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4355
- Joined: 26 Apr 2010, 17:36
Re: NEVER USED IN LISTIEW
HUMMMM...
the number of icon in imagelist are variable, problem!
-
- 4StarLounger
- Posts: 550
- Joined: 27 Jun 2021, 10:46
Re: NEVER USED IN LISTIEW
You can dynamically add controls at run time ...