Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ToolTip Text and Word Wrap
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813640
Message ID:
00813747
Views:
16
Terry,

I did it in code in the Init rather than on the property sheet. For example two different controls:
* #1 each of these tries worked:
this.ToolTipText = "this is a test" + chr(13) + chr(10) + "of a wrapped tip"
this.ToolTipText = "this is a test" + chr(13) + "of a wrapped tip"
this.ToolTipText = "this is a test" + chr(10) + "of a wrapped tip"


* #2
this.ToolTipText = "this is a very long tooltip to see just where it decides to wrap it "

for i = 1 to 5
   this.ToolTipText = this.ToolTipText + this.ToolTipText
endfor
>I have tried to put both CHR(10) and CHR(13) in the tooltip text. It does not work for me. It just reads them into the tooltip text. For example:
>
>Try +CHR(10)+ This
>
>reads as follows in the tool tip text:
>
>Try +CHR(10)+ This
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform