Bug Report T328409
Visible to All Users

General format switches provided for field codes are ignored

created 9 years ago

[DevExpress Support Team: CLONED FROM T327581: Numeric format switches provided for field codes are ignored]


caps
firstcaps
upper
lower
As mentioned in …
https://documentation.devexpress.com/#WindowsForms/CustomDocument11168
However, the conditonal switches dont seem to work properly as in…
https://documentation.devexpress.com/#WindowsForms/CustomDocument9715
Rgds Jeff

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Show previous comments (4)

      Hi Paulo,
      I mean,if you insert a command and  type  { MERGEFIELD XX } etc by hand this works fine but if you try to
      type a compound line such as …
      { IF  { MERGEFIELD XX } =1 "Something" { IF  { MERGEFIELD XX } =2 "This thing" etc etc
      This does not work without having to use the Ctrl+F9 and even then does not always parse correctly.
      e.g I had a parameter with a space in it and it did not work, it was "Annual D/D" and all i got when
      the field was parsed was "Annual" without the D/D, i guess because of the space, even though I had quotes
      so I had to put in "Annual:D/D" for it to work as it doesnt "like" the space.
      I'm not critcising its just that it can be fiddly to get right thats all:) …
      I can send you my final document I was working on, but I cant see on this thread how to make PRIVATE.
      Rgds Jeff


        on the subject - how can I insert an "IF" command profile programmatically ?
        i.e Attach to a button something like …
        { IF Something = This  "True" "False" }
        Im not sure if the (TdxInsertFieldCommand) class covers this…
        JEFFD

        DevExpress Support Team 9 years ago

          Jeff,

          To avoid discussing multiple questions in this ticket (dedicated to the fixed problem), I have created a separate thread (T330329) and copied your comment there.
          As for creating the IF statement, I will answer you in the context of the RichEditorControl - IF command statements ticket.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.