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

RadForm with RibbonBar incorrectly maximizes

3 Answers 91 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 02 Dec 2008, 03:54 PM
I'm trying to evaluate Telerik WinForm controls for our organisation with potential for large license purchase.

I've created a simple Form which inherits from RadForm and added a RadRibbonBar. I need to hide the RadForm title so that the ribbon bar appears correctly, however when I maximize the Form the RadForm menu reappears incorrectly at the very top of the screen, showing only half of the title bar (it should be invisible). I've tried using the RadRibbonForm template with the same results. I've tried searching the forums but without much success. This looks like a bug! Any suggestions?

Eric


Environment:
Visual Studio 2008 / NET 3.5
o/s: Windows Vista

3 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 05 Dec 2008, 03:33 PM
Hi Eric,

Thank you for your interest in our controls.

Yes, indeed, this is an issue with RadRibbonForm when used on Vista, which we are currently researching. We are sorry for this problem, we will address it soon.

I would suggest using the ShapedForm for now - it should show the ribbon correctly.

Do not hesitate to write me back if you have more questions.

All the best,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Robert
Top achievements
Rank 1
answered on 04 Jun 2009, 03:21 PM
Has this issue been resolved? I am experiencing the same problem.
0
Deyan
Telerik team
answered on 05 Jun 2009, 11:42 AM
Hi Robert,

Thanks for writing. This issue will be resolved in the new release of RadControls for WinForms (Q2 2009) which is scheduled for the end of June. However, there is a quick workaround for this. You can override the following properties (when inheriting RadRibbonForm) and implement them as shown in this code snippet:

protected override bool ShouldDrawTitle 
      get 
      { 
                return false
      } 
 
protected override int CaptionHeight 
     get 
     { 
         if (this.WindowState == FormWindowState.Maximized) 
         { 
              return SystemInformation.FrameBorderSize.Height; 
         } 
 
         return 0; 
     } 
 


I hope this helps. Do not hesitate to write back if you need further assistance.

All the best,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
RibbonBar
Asked by
Eric
Top achievements
Rank 1
Answers by
Nick
Telerik team
Robert
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or