Change font property of a listbox item

How would I change the font properties of an item in a list to make it bold. Not all the items in a listbox, but just certain items? Thanks,

guidway
LVL 12
guidwayAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
matthewrobertsConnect With a Mentor Commented:
Try using a listview control. Have a look at this control at:

http://www.mvps.org/vbnet/index.html?code/comctl
0
 
S2Commented:
I don't think you can do that in the standard listbox, you can create your own listbox using a white picturebox with lables on top, and then simply write the events for the control.
If you neeed more help just ask.
0
 
guidwayAuthor Commented:
To all,

A listview control would be fine. Anything that will accomplish what I need. How do I do it though?

matthewroberts,

I read the info you posted in the link above, but I still don't see a way of doing it the way I needed. Can you post some code (or someone) of how to bold only one item in a listbox or listview control. Thanks,

guidway
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
guidwayAuthor Commented:
Never mind. I figured it out. Thanks for the help!

guidway
0
 
ezmattCommented:
hey Guidway, can you please tell me how you ended up doing it, it would be much appreciated.. Code samples would be nice too thanks!
0
 
guidwayAuthor Commented:
ezmatt,

I will look tomorrow, but I think I scrapped the code I used a while back and no longer have it. I'll look anyway.

guidway
0
 
guidwayAuthor Commented:
I should have thought and posted it here back then. Give me time to look for it and I'll get back to you
0
 
ezmattCommented:
thanks
0
 
guidwayAuthor Commented:
ezmatt,

I looked for that code and could not find it in my stash. I believe I did trash it. However if I do locate it I'll be sure to post the info for you. My apologies if I can't,

guidway
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.