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
3 answers

Hide Childform of MDi

I have a MdiParent with two buttons, when button1 is click form1 will show and when button2 is click form2 will show then form1 will hide and vice versa. For example I click the button1 the form1 opens, then I type in the textBox of form1. After…
Karlx Swanovski
  • 2,869
  • 9
  • 34
  • 67
0
votes
2 answers

pass a string from MDI parent to child's modal Dialog

How I will pass a string from MDI parent to child's modal Dialog? MDI parent code to open child: Form1 f1 = new Form1(); f1.MdiParent = this; f1.Show(); Form1 code to open modal dialog Form2 f2= new Form2(); f2.ShowDialog();
Karlx Swanovski
  • 2,869
  • 9
  • 34
  • 67
0
votes
0 answers

MDI parent controls are not visible when child form is opened in C#

I have two forms. One is a MDI/parent form and the other is a child form. Parent form has a few controls like label, textbox, button, etc. When I click on a button in the parent form, child form is brought in front of the parent form. But all the…
Mothy
  • 406
  • 1
  • 7
  • 19
0
votes
0 answers

VB .NET stop autoscroll

I have a VB .net form (maximized in an MDIParent.) Within the form there is a textbox (near the top) that acts as a search. When text is entered a listview with some items pops up, and you can select an item which then hides the list view and fills…
popojohn
  • 11
  • 1
  • 4
0
votes
1 answer

How to Access MdiParent Controls From Child Form C++ .NET

I need to put a ToolStripMenuItem on Enabled from a Child Form in C++ .NET. I try to search this on internet, but nothing for C++, all the answers ware for C#. I try this but don't work (menu_open is the ToolStripMenuItem…
AnDr3yy
  • 239
  • 2
  • 5
  • 16
0
votes
2 answers

Tooltip is not displaying in MDIChild Form

I am using devexpress gridcontrol in my desktop application. But I am facing a problem with tooltip.I used the repositoryHyperlinkbutton and it has 3 buttons in it named view, edit, insert Now I want to display a tooltip for that three Buttons. I…
Chetan Sanghani
  • 2,058
  • 2
  • 21
  • 36
0
votes
1 answer

Resize the multiple child forms in mdiparent automatically , panels and mdi C#

I have mdiparent form which has menu and a panel on the left which includes treeview. the remaining space of the parent form can include multiple windows depending on the user how many he wants to open it. There is a splitter in the edge of the…
saumil patel
  • 247
  • 5
  • 16
0
votes
1 answer

Mdiparent ,child forms

I have mdiparent and many child forms im calling a child form as below Private Sub tsmQuotation_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tsmQuotation.Click If Application.OpenForms().OfType(Of…
aj1
  • 29
  • 1
  • 8
0
votes
1 answer

show all child forms through a method

I have a mdi form and there are so many child forms on the main menu, and I use such code to open child: frmCustomers yeni = new frmCustomers(); if (GenelIslemler.formAuthCheck(yeni.Name.ToString())) { if…
Rapunzo
  • 966
  • 5
  • 21
  • 42
0
votes
1 answer

MDI windows in Windows Form Application

Right now I have this code to open an image from an MDIParent Window called MDIParent1 private void OpenFile(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.InitialDirectory =…
user2101459
  • 579
  • 2
  • 8
  • 19
0
votes
1 answer

How to call MDIParent from windows form?

I have an MDI form called "MDIParent1", MDI child form "MDIChild1" and I have a windows form called "FrmTest". Now there is a button called "btnTest" in "MDIChild1" form and here is the click event. Dim V As New FrmTest V.MdiParent = MDIParent1 …
Azhar Mansuri
  • 665
  • 1
  • 7
  • 22
0
votes
1 answer

C# : System.Windows.Application.Current.MainWindow doesn't return same value on other PC

In Visual Studio 2010, I have an Mdi application build with WPF. When calling Popup windows, I want to set the Owner with the current main window. So, we used the System.Windows.Application.Current.MainWindow property to set the Owner. That works…
YaniKc
  • 21
  • 6
0
votes
0 answers

Setting the MdiParent property in different thread

How can i set MdiParent of a form that run on different Thread? Form2 _frmloading; private void thread2() { _frmloading = new Form2(); _frmloading.TopMost = false; _frmloading.ShowInTaskbar =…
KF2
  • 9,887
  • 8
  • 44
  • 77
0
votes
1 answer

how to sleep child form without sleeping parent or other child forms

I'm building a program that has 5 total forms. 1 MDIContainer and 4 MDIChildren. I currently have a thread.sleep(1000) for each MDIChild. When the operation is performed, I still need the other 3 MDIChilds to be working and interactable. However,…
user1760784
  • 119
  • 3
  • 12
0
votes
2 answers

How to ensure only one instance of a child form is created by a parent mdi form in VB.NET

I have a button on a parent form that can create new Child forms. However, I don't want more than one instance of each form to be created. I tried putting a public boolean on the parent MDI form: Dim ChildForm As Boolean = False And at the point…
user961627
  • 12,379
  • 42
  • 136
  • 210