Shaped Form Issues /w MDI and RibbonBar

2 posts, 0 answers
  1. Scott Gross
    Scott Gross  avatar
    15 posts
    Member since:
    Feb 2009

    Posted 01 Nov 2007 Link to this post


    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,
  2. Peter
    Peter avatar
    1153 posts

    Posted 02 Nov 2007 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top