PDA

View Full Version : Solved: "Carriage Return" or "Line Feed" to Split Button Label Sentence?



Ice-Tea-Jan
01-11-2012, 05:07 PM
Hello,


I need to start the phrase "Costs for Being in the Study" on a new line (underneath the words 'Section 12') within the button label in XML.


I've researched and tried a number of things, and it appears that only supertips accepts "carriage returns" or "line feeds"??


An excerpt is below for that button, but I've attached the full code and a screenshot of the attached file.

<group id="SecondsampleGroup"label="Section 12: Costs for Being in the Study">

<button id="Secondbutton1"label="Europe"
size="large"image="Europe"
onAction="rxbtnW7EuropeSectionTwelve_click" />

<button id="Secondbutton2"label="France"
size="large"image="France"
onAction="rxbtnW7FranceSectionTwelve_click" />

</group >

Can anybody give me a code for this?

Thank you
Janet

Paul_Hossler
01-14-2012, 07:29 AM
I don't think you can make a Group label multi-line

You can split a Supertip (ampersand+pound+13+semicolon), and I think that's the only control that allows it

Also, just visually, it doesn't look like there's enought height to show two lines

Paul

Ice-Tea-Jan
01-14-2012, 04:52 PM
Paul,

Thank you for your prompt reply.

You've saved me from having to search any further on this issue.

I had searched for an answer in my RibbonXML book, and via the web, but came up with nothing.

I even had tried the code you supplied; but realized it only applied to supertips.

I will focus my time on other issues that I am sure this project will present.

Your support is appreciated.

Sincerely,
Janet