Question:
I have an app that has an MDI form (MDIForm1), one MDIChild form (Form1), and one standard form (Form2). I would like to make Form2 a floating one so it gets minimized and restored together with the MDI form but is always on top of the app.
Answer:
In VB6, the Form’s Show method takes a new parameter, OwnerForm. This parameter allows you to specify a Form that will be the owner of the displayed form?that is, the displayed form will always be on top of the ownerform and will be minimized/maximized with it. Do not set the form you want to display as a child of the MDI form.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























