I'm using a listbox to display status of a program that is running.
After an event I add a line of information to the listbox.
I'd like to make this a little bit easier to pick out specific information so I'd like to make some areas of text bold or possibly a different colour.
I'd even like to go as far as making a section of text in one of the lines in the listbox a different colour/bold to the rest of that line.
For example Host123 on network Failed
or Installation of Myprog on Host123 Completed Succesfully
I've seen a complicated solution that draws the listbox with some extra code but I was expecting there to be a simple way of formatting a strings colour, font etc a bit like html tags.
Any help would be great.
Cheers,
UG Guru
After an event I add a line of information to the listbox.
I'd like to make this a little bit easier to pick out specific information so I'd like to make some areas of text bold or possibly a different colour.
I'd even like to go as far as making a section of text in one of the lines in the listbox a different colour/bold to the rest of that line.
For example Host123 on network Failed
or Installation of Myprog on Host123 Completed Succesfully
I've seen a complicated solution that draws the listbox with some extra code but I was expecting there to be a simple way of formatting a strings colour, font etc a bit like html tags.
Any help would be great.
Cheers,
UG Guru