Hi,
I opened child from1 from mdiparent form, from this child form1 ,I want to open another child form, that form should be in inside the mdi parent form. How can I do this, any one guide me.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Blackbarbie Bb56 reputationPosted Sep 2, 2015, 3:55 AM EDT
Dont set MDI Child property from MDIForm
In Childform Load event give the below code
Dim l As Single = (MDIForm1.ClientSize.Width - Me.Width) / 2 Dim t As Single = ((MDIForm1.ClientSize.Height - Me.Height) / 2) - 30 Me.SetBounds(l, t, Me.Width, Me.Height) Me.MdiParent = MDIForm1 End