On Nov 5, 6:11*am, YXQ <Y...@discussions.microsoft.comwrote:
Extract the string from XML file, using ToolTip1.SetToolTip to load the
string, but the width is big, how to limit the width of ToolTip? thank you.
How long Tooltip shows a text depends how long the text is. As Jan
pointed out, you need to limit the text by trimming or removing
specified range or use substring to set specified part of text.
Additionaly, tooltip's text is splitted into lines automatically when
the text is longer than your screen resolution's width, if your
concern was about aligning the long text of tooltip.
Hope this helps,
Onur Güzel