Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am working on desktop application. I have a question?

I have one MDIParent and I am able to load child calling from mdiparent. but, when I am calling a child from another child i get an error. can some one help me how to call the one mdichild form within another mdichild (on a clickevent of a button) and load in the same mdiparent.

Note: I think as a programmer not as a human, so use my answer at your will
  • 6 months later...
Posted
Newbie Question: What is Mdi? How would I use it? A short and simple answer is all I'm looking for.

 

Thanks!

 

MDI = Multiple Document Interface

That doesnt say much though ;).

 

It is the way Word 6 and 7 used to handle documents. You had one winword 'master' window, that could spawn several child forms. These childforms would stay inside the master window.

 

Other example: MS Access still uses MDI: it got the big 'access' window, with other windows inside for the database, forms, tables, queries, etc. One of the nice tricks of MDI is that the menubar and toolbar of the childwindow is integrated into the mainwindow. If you choose another childwindow (for access you select a query instead of a form) the menu and toolbar will be changed to reflect the change in actions you can take.

 

 

alapak1:

I would add a ';' at the end to make it "vShowReports.MdiParent = Me.MdiParent;" ;)

Nothing is as illusive as 'the last bug'.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...