This is a migrated thread and some comments may be shown as answers.

RadTitleBar caption issue

2 Answers 172 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
rob
Top achievements
Rank 1
rob asked on 17 Jul 2007, 10:45 PM
I have dropped a RadTitleBar control into a form with its FormBorderStyle set to "None". I then set the Caption property in the RadTitleBar to "Anything But Default". This shows up in the designer, but when I run the aapplication, the title shows up as "Form1". Even if I remove all of the Caption/Text property values it still shows up as "Form1" when running. What gives? This is a pretty basic custom control property.

Rob.

2 Answers, 1 is accepted

Sort by
0
rob
Top achievements
Rank 1
answered on 17 Jul 2007, 11:38 PM
Figured it out. When I set the FormBorderStyle to None I left the Text property as Form1. This value overrides the value of the RadTitleBar's Caption property. Seems a bit like reverse inheritance to me ...

Rob.
0
Jack
Telerik team
answered on 18 Jul 2007, 12:28 PM
Hello Rob,

Yes, we implemented this behavior with intent. When a RadTitleBar component is placed on a form it mimics the Form's default title bar. When you change a Form's property (e.g. MaximizeBox) it reflects RadTitleBar. We will take your opinion in consideration and will eventually add an option to change this behavior.

 
Best wishes,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TitleBar
Asked by
rob
Top achievements
Rank 1
Answers by
rob
Top achievements
Rank 1
Jack
Telerik team
Share this question
or