Click to See Complete Forum and Search --> : MDI - Gurus Please help!!!!


Indro
January 13th, 2000, 09:04 AM
Is it possible to keeping an independent form on the top of an MDI form, whatever events are being fired ?
Please let me know if there is any workaround or possible variation. Thanks in advance.
Indro

Lothar Haensler
January 13th, 2000, 09:16 AM
you could set the borderstyle to "Fixed Toolwindow" in VB 6.
That way the window will always remain on top of all mdi children.

Johnny101
January 13th, 2000, 03:24 PM
For the form you want to stay on top, set the MDIChild property to False and then when you call the form from the mdiMain form, pass the Show method the vbModal parameter.

Ex.
private Sub mnuShowForm_Click()
frmShowOnTop.Show vbModal
End Sub



This will show the frmShowOnTop form above the mdi form and also remain on top until it is closed. The mdi form will however, be unaccessible until this form is closed.

Hope this helps a little,

John

John Pirkey
MCSD
www.ShallowWaterSystems.com