Question Quick Question: Object to display a form in a scrolling window?

Mugsy

Member
Joined
Sep 30, 2020
Messages
16
Programming Experience
10+
Is there a VB.Net object that lets you display a form in a scrollable window? TIA
 
I've seen this question answered elsewhere but I'll answer it here for completeness. You should start by setting the IsMdiContainer property of the parent form to True in the designer. You can then host a child form inside it by assigning the parent form to the child form's MdiParent property, e.g.
VB.NET:
Dim childForm As New Form2

childForm.MdiParent = Me
childForm.Show()
 
Back
Top