Hi Don,
frm.ShowDialog()
Note, if you have any buttons on your form and you set the dialog result
property, then those buttons will automatically close the form and return
the DialogResult property value in the ShowDialog method:
Dim drResult As DialogResult = frm.ShowDialog()
If drResult = DialogResult.OK Then
...
Else
...
End If
--
HTH,
-- Tom Spink, Über Geek
Please respond to the newsgroup,
so all can benefit
" System.Reflection Master "
==== Converting to 2002 ====
Remove inline declarations
"I_AM_DON_AND_YOU?" <us**@domain.com> wrote in message
news:eR**************@tk2msftngp13.phx.gbl...
Hello all:
Yesterday I put this post regarding the query as to how to open a new form
in "modal" style.
I am calling the form in the following way:
dim frm as form2()
frm = new form2()
frm.show
Where and how should I mention to open form in "modal" sytle.
Thanks!
SENDER (Remember me...)