-
January 8th, 2018, 08:46 AM
#1
Can I add text into a listView of icon ?
I want to add text into icon of the listView , how do I write the code ? You see the image file attached, for this example I add the word "special" color green. http://www.mediafire.com/view/ieaac6...GianhRieng.jpg
-
January 8th, 2018, 05:02 PM
#2
Re: Can I add text into a listView of icon ?
I guess you should modify the item icon (add or replace the corresponding icon in the imagelist) with the text and then set this modified icon for the listview item.
Victor Nijegorodov
-
January 9th, 2018, 04:49 AM
#3
Re: Can I add text into a listView of icon ?
I want to insert text in the center of the icon as shown in the image but do not change the icon
-
January 9th, 2018, 06:21 AM
#4
Re: Can I add text into a listView of icon ?
Originally Posted by dongtrien
I want to insert text in the center of the icon as shown in the image but do not change the icon
Then create a new icon from the existing one adding the text. Then add this icon to the control imagelist and set this new icon to the item (i.e. replace the item icon).
Victor Nijegorodov
-
January 9th, 2018, 08:00 AM
#5
Re: Can I add text into a listView of icon ?
Originally Posted by dongtrien
Can't see the image without a mediafire account. Just attach the image directly to your post.
-
January 10th, 2018, 07:44 AM
#6
Re: Can I add text into a listView of icon ?
The friend VictorN have demo ?
-
January 10th, 2018, 09:11 AM
#7
Re: Can I add text into a listView of icon ?
Originally Posted by dongtrien
The friend VictorN have demo ?
No, but I already described how i would do it in C++. And I guess that in VB one can do it the same way.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|