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

Hide Form Title Bar

3 Answers 574 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 11 Feb 2013, 06:05 AM
Hi,

I changed the form property FormBorderStyle = None.  That hides the border but the user can't resize the window other than go to  full screen.  I also blanked out the forms text property and set the controlbox property to false.  In the controls RadRibbon demo the form title bar is hidden but the form can still be resized by the user.  How was that done???  I saw mention of RadForm and RadFormShaped on old forum threads but I assume they have been depreciated.  I am using Telerik Q3 2012 assembly V4.0.30319.

Thanks
Rich

3 Answers, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 13 Feb 2013, 05:37 PM
Hi Richard,

Thank you for writing.

The demo mentioned uses RadRibbonForm, which has its own title bar and the form can be resized. To create such a form, simply right click your project > Add > Windows Form... > and choose Telerik RadRibbonForm. 

Alternatively, use the approach described here: http://www.telerik.com/help/winforms/forms-and-dialogs-ribbonform-getting-started.html.

I hope that you find this information useful.

All the best,
Anton
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Richard Harrigan
Top achievements
Rank 1
answered on 13 Feb 2013, 08:15 PM
Hi Anton,

I Inherited from RadRibbonForm and the sizing works.  However the Title Bar does not reflect the theme.  Its always stays a blue gray color.  I hope there is a way for me to change this.

Thanks
Rich
0
Jack
Telerik team
answered on 18 Feb 2013, 02:48 PM
Hello Richard,

The Aero effect is enabled by default when using RadRibbonForm. This allows the form to display transparent titlebar with the same style as in Windows Vista and higher versions of the Windows operating system. You can disable this behavior and synchronize the titlebar with the ribbon theme by setting the AllowAero property of RadRibbonForm to false.

I hope this helps. If you need further assistance, do not hesitate to contact us.

Kind regards,
Jack
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
RibbonBar
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Anton
Telerik team
Richard Harrigan
Top achievements
Rank 1
Jack
Telerik team
Share this question
or