Maintaining Parent Form Integrity

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What am I missing form this method that will prevent access to the parent
form when the frmB is active? If you run this method, you can still access
the parent form and its functionality.

Sub WhatEver
Dim frmB As New Form '-- The New Form to display
frmB.TopMost = True
frmB.Owner = CType(Parent, Form)
frmB.Show()
End Sub

As always - Thanks for replys...
Joseph
 
Joseph,

You can either hide the parent form, or use the ShowDialog method instead of
Show to make frmB modal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top