Questions tagged [mdiparent]

MDI stands for Multiple Document Interface. A MDIParent form can contain several MDIChild forms each of them doing indipendent things, but sharing the same parent container, menus and controls.

A MDIParent is an option to consider in developing an application displaying several documents at once, since it allows users to easily identify what belongs to an application and what is part of another.

220 questions
0
votes
1 answer

mdi child form wont center to another mdi child form within the same parrent?

Hi I have a mdi child form (form A) which when clicked displays another mdi child formn(form B) both of which share the same parent form. The problem is I cant find a way to center the child form B to child form A? Is this even allowed in vb.net? I…
LabRat
  • 1,996
  • 11
  • 56
  • 91
0
votes
2 answers

How to set form2's mdiParent to form1 c# winforms

I'm using two forms one mainform called 'Form1' and a seperate form called 'Form2'. So want to achieve something like that: Form2.mdIparent = Form1; But that didn't work. Can somebody help me ? I'm using Windows, C# and WinForms.
Creesch
  • 31
  • 7
0
votes
1 answer

MDI Child form overlayed by panel with property dock fill

Description I have Main form (Home) with IsMDIContainer property set to true. Then i added a panel on form and set it DOCK property to FILL After that i created child form (products) and open on main form on button click. Problem i am…
Zohaib Waqar
  • 1,204
  • 11
  • 18
0
votes
0 answers

"Sub mdichild_Shown() " event is not firing

mdiparent Code: Private Sub mdiparent_Load( mdichild.Show() mdichild Code: Private Sub mdichild_Load() Me.MdiParent = Project1.mdiparent mdichild.Designer.vb Code: Me.Controls.Add(Me.compont1) CType(Me.compont1,…
IT researcher
  • 3,274
  • 17
  • 79
  • 143
0
votes
1 answer

Create a new form instance inside parent with the ability to access the parent form

I tried to create a new form inside the Parent. I set FormBorderStyle to none. When I am adjusting MDIParent to the myForm, it gave me a sick looking error like this: System.ArgumentException : The given Form is not being recalled as a…
Martijn
  • 3
  • 4
0
votes
1 answer

MDI Parent window height shrinks on restore (after minimize/maximize) if an MDI child is maximized

Whenever I minimize or maximize an MDI Parent form while it has a child form maximized, the height of the MDI Parent shrinks by roughly 20px. I started out with .Net Framework 4.0 and had this problem, so I tried other versions and continued to have…
Daniel P
  • 123
  • 1
  • 9
0
votes
1 answer

mdiparent form inside mdiparent form

how to make mdiparent form inside mdiparent form in vb.et? what i need is to make form two side one for buttoms and the left side if for forms,but i need this forms is tile windows. i need any solution from this two : 1- i added allready mdiform…
shriffadl
  • 1
  • 4
0
votes
1 answer

how to make a mainwindow as a MDI parent in qt

how to make a mainwindow as a MDI parent in Qt creator
0
votes
0 answers

Splash Screen(Wait Form) on behind the Mdi Parent Panel

I m working on a mdi form application and my mdi parent is a panel on main form.I wanna use a splash screen while my data's loading in child form. But when i click to action button which is in child form splash screen is activate on behind the main…
0
votes
0 answers

vb.net how I get a list of active and open forms in MDIparent inside MenuStrip Horizontally?

Please, How I get a similar Open And Active child forms that are located in the "Windows" ToostripMenuItem in MdiParent as the picture below. but I want them horizontally, is there anyway to that? I appreciate your help. UPDATE: SOLUTION I figured…
Osama Gadour
  • 177
  • 2
  • 17
0
votes
1 answer

Unable to Open ChildForm inside MdiParent

I am trying to open ChildForms on MdiParent Form using a Form Manager Class. I've tried several alternatives in order to tell "FormManager" Class which Form is the MdiParent; however it would always throw errors (1 different error for each different…
user2225495
0
votes
2 answers

How to set an event for MDI child forms without adding code to each form?

I would like to set the background color for a certain type of control on all child forms that open. I have an MdiParent form that is used to open the other forms within itself. I don't want to add code to each child form as this would be very…
Programmer
  • 459
  • 5
  • 20
0
votes
1 answer

C# - Determine the focused RichTextBox in a Split Container of the Active MDI Child

I have a Form (Form2) that contains a Split Container, the RichTextBox is on the Left Panel and the WebBroswer is on the Right Panel. I am showing the Form as a child of a MDIParent Form 1. What I wanted to do is copy the selected text of the active…
sander126
  • 35
  • 7
0
votes
1 answer

vb.net child form falls behind panel control inside parent form

I am in a bit of a bother. I have a MDI.Parent form within it some blue pannels. When I call my child form, the child form falls behind the blue panels. I didn't expect this because the panels already existed at runtime whilst the child form is…
LabRat
  • 1,996
  • 11
  • 56
  • 91
0
votes
1 answer

Child form opens in a new window

My child form opens up in a new window instead of opening within the MDI form when I use the below code: Form1 f1 = new Form1(); f1.Dock = DockStyle.Fill; f1.MdiParent = this.MdiParent; this.WindowState = FormWindowState.Maximized; f1.Show();
Ashiq
  • 17
  • 2