Ticket Q411508
Visible to All Users

Missing Button Text

created 13 years ago

Hello,

I was looking at a ticket that looks to be the same problem I am encountering:
http://www.devexpress.com/Support/Center/Question/Details/B183872

It indicates that this was fixed in v2010 vol 2.7, but unfortunately, we have some users who are still using v2009 vol 3.

Do you know what the actual fix was for this? Is there some workaround that we might be able to implement in that earlier version?

Thanks for any information you can provide.

-Tim

Answers

created 13 years ago (modified 13 years ago)

Hi Tim,
I have attached a sample project that illustrates a workaround. Please review the MySimpleButton class and its CheckViewInfo method. Try this workaround and let me know if it meets your requirements.

    created 13 years ago (modified 13 years ago)

    Hi,
    I cannot reproduce this issue by using version 9.3.7. I have attached a small sample to confirm this. Would you please modify it to show the issue?
    In any case, you can draw a button text manually in the SimpleButton.Paint event handler.
    I hope to hear from you soon.

      Comments (1)

        Hello,
        Unfortunately, the issue I am seeing is not readily reproducible. It only seems to occur on 64-bit machines for us, and only intermittently. A very similar issue was described on a different website, which then referred to the DevExpress support ticket that I referenced above. The original post can be found here:
        http://stackoverflow.com/questions/5325262/intermittent-bug-devexpress-xtraeditors-simplebuttons-text-only-appears-1st-t
        The solution that the DevExpress Team member posted on Stack Overflow indicated that B183872 had fixed the issue. I was mainly wondering if you possibly had any idea what exactly was changed to fix that issue. Was there a minor tweak that I could replicate, or perhaps a workaround? Or was there some major overhaul of the SimpleButton logic at some point that fixed the issue?
        Thanks,
        Tim

        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.