Consulting

Results 1 to 3 of 3

Thread: Solved: "Carriage Return" or "Line Feed" to Split Button Label Sentence?

  1. #1

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

    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
    Attached Files Attached Files
    "If" is a big word.

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    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
    Attached Images Attached Images
    Last edited by Paul_Hossler; 01-14-2012 at 07:34 AM. Reason: use picure instead of the real code since VBX processes the code and doesn't display it

  3. #3

    Thank you, that is what I suspected

    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
    "If" is a big word.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •