Ticket T1282739
Visible to All Users

Problem with CustomTitleBar and UseSkin.

created 6 months ago

When we activate the skin (UseSkin = True) on a form that uses CustomTitleBar to place controls on the title bar, the controls are not in the correct position.

Clipboard-File-1.png

Clipboard-File-2.png

The example is attached.

Answers approved by DevExpress Support

created 6 months ago

Hello Giorgio,

Thank you for the sample project. It helped me reproduce this behavior.

This issue occurs because our skins are not compatible with TTitleBarPanel since both use complex mechanisms to override the form's non-client area.

There are two possible solutions for this task:

  • Handle the OnSkinForm event to disable the form's skinning.
  • If you do not use complex controls, you can try our Ribbon Form as illustrated in the attached project.

    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.