-
Solved: RibbonX XML: How can I put in a carriage return or new line within " " marks
In a screentip I want to separate two paragraphs of text by a empty line.
To do that I need to add a new line or a couple CRs. How do I do that?
Example:
screentip="Hi, how are you doing. Thank you I am fine."
The above line gives me:
Hi, how are you doing. Thank you I am fine.
What I want is:
Hi, how are you doing.
Thank you I am fine.
-
Try
[vba]
screentip="Hi, how are you doing.$$Thank you I am fine."
[/vba]
where each $ = ampersand pound 13 semicolon (no spaces)
Actually putting the into the VBA tags got processed, and the code was not displayed
Paul
Last edited by Paul_Hossler; 07-09-2010 at 03:45 AM.
-
In the RibbonX:
Like Paul explains.
Or via callback:
Sub GetSuperTip(Control As IRibbonControl, ByRef supertip)
supertip = "Super tip text line 1" & vbCr + vbCr & _
"Super tip text line 2."
End Sub
-
thanks Paul, thanks gmaxey.
One addition:
Screentips do not handle multiple lines. But Supertips do.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules