in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

How do I get "&" into Command Text?

Last post 12-11-2007 2:16 PM by C1_GregL. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-11-2007 11:49 AM

    How do I get "&" into Command Text?

    I recently upgraded my application to V. 2.0.20072.19209, and I just noticed that one of my C1Commands (in a ContextMenu), which used to look like this:

    "Supply & Support Personnel"

     now looks like this:

    "Supply _Support Personnel".

    Previously, to get the first result, I set the Text property on the C1Command to "Supply && Support Personnel".  That code is still the same, but the result is not.  Is there a new escape sequence to get the '&' to show up in the Command Text?

    Filed under:
  • 12-11-2007 2:16 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: How do I get "&" into Command Text?

    There's no other escape character.  This bug has been fixed in the latest release you can download from our site.  I noticed it was fixed in build 2.0.20073.302.

    Or if you just want to update this control you can grab the assembly files here

    Regards,
    Greg L

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.