Listbox Component with advanced formatting options?
I am looking for a listbox style component that offers advanced text formatting options.
I know you can ownerdraw regular listboxes using the OnDrawItem procedure, but for the requirements I need I think it would be better to use a control that may already offer what I am looking for.
Look at this sample screenshot:
Word Styling - Allow individual characters/words to be styled differently.
Text Links - certain items entered into the listbox could be recognised as a link (not necessarily a url link though). In this example brown fox is marked as link, when the mouse moves over the brown fox text the font becomes underlined. Selecting this could do anything such as show a message, open a form etc.
Note, when a list item is selected the font styles should remain the same. Additionally if the listbox could support images (especially several images in a row) that would be a bonus.
I was thinking a HTML listbox or similar could be just what I need. That would allow inputting the items into the listbox like as code with tags for example.
Could anyone recommend a component that offers this type of capabilities?
The THTMListbox by TMS Software can do all of this. It can support images and even animated gifs.
It is not free though and is actually part of a bundle (HTML Controls Pack). I think it is well worth looking at though and the support is second to none + you receive full source code.