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

How To Make MDI Layout - RadRibbonBar

5 Answers 115 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Hengky
Top achievements
Rank 1
Veteran
Hengky asked on 30 Sep 2015, 10:14 AM

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

 

5 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 30 Sep 2015, 12:47 PM
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
0
Hengky
Top achievements
Rank 1
Veteran
answered on 01 Oct 2015, 07:29 AM

Hello Dimitri...

 Thanks for the response. 

i've attached the picture 

 

0
Hengky
Top achievements
Rank 1
Veteran
answered on 01 Oct 2015, 07:31 AM

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

0
Dimitar
Telerik team
answered on 01 Oct 2015, 10:42 AM
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
0
Hengky
Top achievements
Rank 1
Veteran
answered on 02 Oct 2015, 06:57 AM

hi dimitri

thanks so much ...

my dizzy has gone .... 

 

Tags
RibbonBar
Asked by
Hengky
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Hengky
Top achievements
Rank 1
Veteran
Share this question
or