Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Apr 8, 1999



Application Security Testing: An Integral Part of DevOps

Floating Window

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.

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.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date