words bold in listbox

guif
02-04-2008, 09:16 AM
I put in a listbox a lot of words.
For example:

list1.AddItem ("NAME: ") + (rs("names"))
list1.AddItem ("DESCRIPTION: ") + (rs("descriptions"))
list1.AddItem ("TELEFON: ") + (rs("tlf"))

Is it possible to put "NAME, DESCRIPTION and TELEFON" in BOLD????

very thank's!

lebb
02-04-2008, 11:56 AM
The easy answer is "no"; however, if you're willing to invest some work, it is possible to subclass the ListBox control and do all your own drawing so that you can paint the text any way you want it. Check our Tutors' Corner forum for subclassing tutorials by Garrett Sever.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum