Hi,
I would like to highlight a known substring in a label.
Eg.
Substring1:='Hello';
Substring2:='world!';
Label1.caption:=Substring1+' - '+Substring2;
When the mouse is above 'Hello', only 'Hello' must be highlighted.
The reason only one label is used, is that the label1 needs to be centered and may not exceed the Image used as backdrop. If you use 2 labels, its is easy to highlight the text, but difficult to center the combined text.