How To Make MDI Layout - RadRibbonBar

6 posts, 0 answers
  1. Hengky
    Hengky avatar
    18 posts
    Member since:
    Sep 2015

    Posted 30 Sep 2015 Link to this post

    Dear All 

    Please Help me how to make from like example MDI Layout - Radribbonbar 

    i mean step by step... with properties not coding  

    i have follow this step...

    i have change properties 

    controlbox = false 

    formborderstyle = fixedsingle 

    text = null 

     ismdicontainer = true 

     

    i still cannot get like mdi layout - ribbonbar example

     

    thanks before

     

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 30 Sep 2015 Link to this post

    Hello Hengky,

    Thank you for writing.

    Here are the minimum steps to create such functionality:
    1. Drop a RadRibbonBar on the form (you can add groups and buttons later). Detailed information about this is available here: Getting Started.
    2. Set the IsMdiContainer property of the form to true. More information is available here: MDI.
    3. Add some child forms.

    Please note that you should add the child forms in the code behind. For example:
    int mdiChildCount = 0;
     
    public RadForm1()
    {
        InitializeComponent();
     
        this.IsMdiContainer = true;
        AddNewChildForm();
        AddNewChildForm();
    }
     
    private void AddNewChildForm()
    {
        RadForm form = new RadForm();
        form.MdiParent = this;
        form.Text = "MDI Child Form " + (++this.mdiChildCount);
        form.Show();
    }

    In addition, I have noticed that you have posted a similar thread. I have deleted it in order to avoid duplicate posts in our forum.

    I hope this will be useful. 

    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hengky
    Hengky avatar
    18 posts
    Member since:
    Sep 2015

    Posted 01 Oct 2015 in reply to Dimitar Link to this post

    Hello Dimitri...

     Thanks for the response. 

    i've attached the picture 

     

  5. Hengky
    Hengky avatar
    18 posts
    Member since:
    Sep 2015

    Posted 01 Oct 2015 in reply to Hengky Link to this post

    i hope this make clear what i want. i don't want to show the title bar on the form

  6. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 01 Oct 2015 Link to this post

    Hi Hengky,

    Thank you for writing back.

    You should drop the RibbonBar on a RadForm (not the default .NET form)  or you can change the form class to inherit RadRibbonForm. More information is available here: Getting Started.

    I hope this information helps. 

    Regards,
    Dimitar
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Hengky
    Hengky avatar
    18 posts
    Member since:
    Sep 2015

    Posted 02 Oct 2015 in reply to Dimitar Link to this post

    hi dimitri

    thanks so much ...

    my dizzy has gone .... 

     

Back to Top
UI for WinForms is Visual Studio 2017 Ready