Listbox component with advanced formatting options?

I am looking for a list style component that offers advanced text formatting options.

I know that you can create regular lists 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.

Take a look at this screenshot:

enter image description here

Word Styling - allow individual characters / words in different ways.

Text Links - some elements entered into the list can be recognized as a link (not necessarily a link to a URL). In this example, the brown fox is marked as a link, when the mouse moves over the text of the brown fox, the font becomes underlined. When choosing this, you can do anything, for example, show a message, open a form, etc.

Note that when selecting a list item, the font styles must remain unchanged. In addition, if the list can support images (especially multiple images in a row), which will be a bonus.

I thought that an HTML list or the like could be just what I needed. This will allow you to enter elements into the list, for example, as code with tags.

Can anyone recommend a component that offers such features?

Thanks.

+4
source share
1 answer

THMSMLbox from TMS Software can do all this. It can support images and even animated gifs.

It's not free, although it is actually part of the package (HTML Controls Pack). I think it's worth a look, although support is second to none + you get the full source code.

+6
source

Source: https://habr.com/ru/post/1433221/


All Articles