Bug Report T151123
Visible to All Users

dxFader - The clBlack background in TcxCustomEdit descendants is incorrectly faded

created 11 years ago

Hi,

I subclassed a TcxDBButtonEdit to create a custom component that behaves like a TdxColorEdit. I didn't use the standard TdxColorEdit / TcxColorComboBox because I needed additional buttons and behaviour.

Basically, this component opens a modal window which enabled the user to select colours. The selected color is both applied as the background of the edit, and its integer value as the editValue of the control (which is stored in the dataset).

Though, when the user selects a color clNone or clBlack, or any color with a value higher than 16777215 or lower than -16777215 will cause a painting problem. Seems that the border of the control has a little animated "glow" effect when the mouse hovers on it / out of it, that causes a glitch on the control.

Show previous comments (1)
RC RC
Raymond Cléroux 11 years ago

    Here are some screenshots. When the mouse enters the control, a glow effect is activated, which lasts a second. During that time, the area where the border is being repainted does not take into account the background color of the control. After the glow effect finishes, it comes back to normal. This occurs only when the background is black, or other "invalid" color values (as specified in the original post).  What is also weird, is that this effect also occurs when themes are applied via TcxSkinController, where no border glow effects are applied. Seems the glow effect is still triggered.

    DevExpress Support Team 11 years ago

      Thank you for your clarification. I have reproduced this behavior with TdxSkinController and forwarded this ticket to our developers for research.

      RC RC
      Raymond Cléroux 11 years ago

        It happens also with no style (native)

        Answers approved by DevExpress Support

        created 11 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.

          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.