Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using Dev Express.

I would like to display a child form on a Ribbon Form whose property [isMdiContainer=True]


My c# code is as follows:
C#
XtrafrmClients ch_clients = new XtrafrmClients();
ch_clients.MdiParent = this;
ch_clients.Show();


With this code, there is no exception but I can't see the child form.
I tried to get the output of:
string x = this.hasChildren.to string()
and the result is true.

Please help.
Posted
Updated 5-Nov-10 5:57am
v4
Comments
Dalek Dave 5-Nov-10 11:57am    
Edited for Grammar and Readability.

1 solution

RibbonForm is created with the panel filling the form by default. Simply remove this panel to make the MDI contents visible. Also, clientPanel.SendToBack(); does help as well. :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900