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

Shaped Form Issues /w MDI and RibbonBar

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott Gross
Top achievements
Rank 1
Scott Gross asked on 02 Nov 2007, 12:41 AM
Hello,

I'm just getting started with the WinForm Controls and having a little trouble with the Ribbon bar.  Basically, I would like to to resemble Excel 2007 as it has an MDI. 

First, the main reason to use the shaped form is for the Ribbon bar.  Is there a way to get a decent boarder to resemble the Office Applications?  I have tried using the preset shapes, but it doesn't quite have a usable border as the ribbon bar hides it.

Secondly, when set as MDI, it is not resizable.  The only work around I found was to put an MS statusStrip to get the resize handle.  Is there a better way?

Lastly, it's not a requirement, but is there any way to utilize Vista's Aero Interface?  I tried setting EnableCompositionOnVista, but it didn't quite look correct.

Thank you,
Scott

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Nov 2007, 03:39 PM
Hi Scott Gross,

Thank you for writing.

Indeed, the ribbon hides the border of the shaped form, and this is an issue we are going to fix soon.

Are you after some type of Vista-style border with shadow and opacity? If so, we may consider adding this effect to our controls in one of the next versions.

At this time we will suggest using a padding which helps with the border visibility a bit. The padding will also help in the second issue you report. You can allow resize in the shaped form by setting a padding to the form:

private void Form_Load( object sender, EventArgs e )
{
...
this.Padding = new Padding( 1 );

As to Vista Aero support for the ribbon, this feature is already on our TODO list. Currently we support Aero for the form only, but with some tweaks. I can send you further details on this if you would like.

Contact us again if you have any additional questions.

 
Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Scott Gross
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or