Bug Report B232418
Visible to All Users

TdxBarButton does not always synchronize its Down property value with the Checked property of a TAction linked to this bar button

created 12 years ago

See the attached sample project.

Comments (1)
DevExpress Support Team 11 years ago

    The problem seems to be caused by the architecture issue in ExpressBars and has been present in our controls for a very long time. It may require significant time to change the current behavior. Anyway, we are going to do it with future versions of our controls.

    Answers approved by DevExpress Support

    created 11 years ago (modified 8 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.

    Additional information:

    During our research in the context of the T445324 ticket, we found that the synchronization behavior we had implemented in this (B232418) ticket is incorrect. So, we reverted to the previous behavior. The Down property should not  be always synchronized with the Action.Checked property. The point is that our bar button's Down property was implemented to emulate the behavior of the VCL menu item's Checked property. This means that the Down property should behave the same way as Checked and should be affected by the Action.AutoCheck property in the same way (see the "ActnList.TAction.AutoCheck" help topic). In other words, it is necessary to enable the Action.AutoCheck property to synchronize the Action.Checked state with the bar button's Down property.

      Comments (2)

        Hello!
        Version 2014 2.4 - not work!
        Work only with AutoCheck = True Property in the TAction.

        DevExpress Support Team 10 years ago

          Hello Denis,

          To process your recent post more efficiently, I created a separate ticket on your behalf: The button is checked only with AutoCheck = True Property in the TAction. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

          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.