Combo box font colour

molemenacer

Active member
Joined
Jul 27, 2006
Messages
27
Location
Haywards Heath, UK
Programming Experience
Beginner
Hi all,

Is it possible to have a combo box that has different colour items?

I have a combo box with a list of users and if they are disabled i want them to be in gray rather than black, is this possible?

Thanks in advance
 
Set the DrawMode property to OwnerDrawFixed and handle the DrawItem event to draw the items as you like. There is a code example in documentation for mentioned ComboBox members to get you started.
 
Back
Top