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

Maximized MDI form behavior

My program shows some browser. From a browser user can open maximized MDI form with some report. When user is closing the report, first MDI form with browser is became maximized. 2 forms have same MDI parent. Can I change this behavior to leave my…
Vadim
  • 83
  • 2
  • 8
0
votes
2 answers

c# - Set textbox value of MDIparent from childform

In my application, I need to set the value of the TextBox control in the MDIParent form from one of the event in the child form I tried this; public string textboxvalue { get { return textBox2.Text; } set { textBox2.Text =…
Jameer Basha
  • 61
  • 1
  • 9
0
votes
0 answers

Bring to Front MDI Child in C#

I am new in using C# and its IDE, Visual Studio. I am now creating an internal frame embedded in a winform. I used MDI Child, setting my winform as MDI parent. The problem is that, whenever I run my MDI child inside the MDI client together with…
ThEpRoGrAmMiNgNoOb
  • 1,256
  • 3
  • 23
  • 46
0
votes
0 answers

Resizing issue with MDI Parents

I'm having an issue with resizing. I have a Form that is an MDIParent, and then another form that docks inside of it as an MDIChild (also has docked taskbars to the left,right, and above). My issue is that when I add another form inside the…
Chris Hobbs
  • 745
  • 2
  • 9
  • 27
0
votes
0 answers

Is it possible for a winform to have an animation effect if it is in a parent container?

I have a winform application using C#. I have tried everything to have a transition effect from form1 to form2.(opacity and height width change base on timer) But it seems that using parent-child container (MdiParent), it is not possible. Am I…
Lucas Juan
  • 351
  • 5
  • 9
  • 23
0
votes
1 answer

how to Save the Child Form textbox Values in MdiParent form Button Click Event?

I inserted mdiparent form in my project.It contains one child form(Customer Data Entry) with textboxes.In parent form one toolstrip button(Save Record).At the time of pressing the Save Record Button I want to Save the Customer Data Entry form…
0
votes
1 answer

how do i cascade windows in my mdiparent but only to start it from a certain location

How do i cascade windows in my mdi Parent but only to start it from a certain location. I have a side panel that I want the cascading and tiling to start next to the panel. My current code…
0
votes
2 answers

How to use ChildForm data and component from the parentChild.? Window Form MDI

I have a project with a form MDIContainer (form1) and this form1 has 4 child forms ( form2, form3, form4, form5). All the data need to be connected, I mean, I need create one object of each form and don't lose the data of this object In the form1,…
Icaroo
  • 131
  • 2
  • 8
0
votes
4 answers

Tips on setting the window state of a Windows Forms window

I have a Windows Forms application that opens MDI child forms. When I select those forms, I need to set or render its windowstate to Maximized. The problem is, when I navigate between the open forms, it reverts back to the normal window state, and…
Jepe d Hepe
  • 899
  • 5
  • 22
  • 42
0
votes
0 answers

KeyDown event in a mdi childform

I'm using a mdi parent form and a mdi child form. When I press a key I would like something in the child form to change, but it looks like if I press a key it's the parent form that register the keydown event. Is there anyway to make the child form…
Gaute Haugen
  • 103
  • 1
  • 2
  • 15
0
votes
1 answer

Floating / docking windows: Undock MDI Child from MDI Parent creates new MDI Parent to hold child

I have several MDI multi-tabbed Winforms apps that I wrote, using DevExpress controls (DocumentManager and BarManager), that I am trying to add behavior such that undocking a child form (FormEditor) and dragging out of the container will create a…
codenheim
  • 20,467
  • 1
  • 59
  • 80
0
votes
1 answer

Strange behavior of child windows in MDI

I have MDI form and few child forms. When I maximize one of the forms all others are also maximized. For example from child form i want to activate another child form. Previously first child form is maximized. New opened form is also maximized even…
Josef
  • 2,648
  • 5
  • 37
  • 73
0
votes
2 answers

Scrollbar Refresh Issue in MDI Parent Form

I have a Parent Form with Graph Window as a child Window. In the parent form , there are buttons on the left side in panel. In the remaining area of the parent form , the child window will be shown. I am positioning the child windows manually in a…
saumil patel
  • 247
  • 5
  • 16
0
votes
1 answer

ParentMDI and axWindowsMediaPlayer fullscreen

I have a parent form called Form1, and a child form called Form2. Form2 has an embedded video, but when I try to set axWindowsMediaPlayer1.fullscreen=true I got an error. If I do not use Form2 as a child, it works ok. So how can I set…
MarceloClaure
  • 61
  • 2
  • 3
  • 8
0
votes
1 answer

Opening a single CHILD in MDI form

I found the following code from stackoverflow It works correctly when I execute the MDIParent form as the first form in the project For Each f As Form In Application.OpenForms If TypeOf f Is Form1 Then f.Activate() Return End…
Random User
  • 355
  • 4
  • 8
  • 19