Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted

what do you want to do to the mdi container?

 

it's a bit vague just wondering how to work with it ;)

 

do you want to add something to it, colour it, or something else?

 

the container part is called an MdiClient if that helps, you can find it by looping through the mdi form's controls.

Posted

i want to know how to put forms into it and set the title of the main app to the form inside it like:

 

Main App

--Child Form

 

then set the title like

 

Main App - Child Form

Page Edit 2.0 Alpha 2 OUT NOW!

- Download Now -

  • Leaders
Posted

set the MdiParent property of your ' other ' Forms.

 

eg:

'/// assuming you have set this form as IsMdiContainer = True
'/// to make other Forms ChildForms
Private frmChild As Form2
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
	frmChild = New Form2
	frmChild.MdiParent = Me
	frmChild.Show()
End Sub

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...