I need to create a fancy caption for a radio button, using multiple fonts (text and WinDings) and colors. What's the best way to do that? Rich text or HTML would be ideal, of course, but there does not seem to be any support for that in the UltraCheckEdito.
It seems that DrawFilter provides the functionality for drawing, but how can I tell the control how large the text is, i.e. how can I control the result of autosizing and the size of the focus rectangle?
TIA!Hans
Hi Hans,
There's no easy built-in way to do this.
What I would do is create UserControl with an UltraCheckedEditor and an UltraFormattedLinkLabel control. The UltraFormattedLinkLabel supports the kind of rich text you need.
Hi Mike
Thank you for your reply.
With your proposed solution I'm concerned that getting focus, mouse and keyboard handling right could turn out to be pretty hard.
Is there an alternative way that does not involve simulating user interaction behavior?
Best,Hans