Getox Posted September 17, 2005 Posted September 17, 2005 How do i work the MDI Container? Quote Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
Leaders dynamic_sysop Posted September 17, 2005 Leaders Posted September 17, 2005 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. Quote
Getox Posted September 17, 2005 Author Posted September 17, 2005 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 Quote Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
Leaders dynamic_sysop Posted September 17, 2005 Leaders Posted September 17, 2005 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 Quote
Getox Posted September 17, 2005 Author Posted September 17, 2005 Thanks for that. Quote Page Edit 2.0 Alpha 2 OUT NOW! - Download Now -
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.