0

Hai

May be too simple but I was not able to locate info on this..

My main form will have a button, when I click on it another form should appear. I can do it. I need the parent form there( no .hide) but it should not be 'click-able'. It can be click-able only after the new form is closed. I did the hiding and restoring (an example in forum) on new form close. But I need to do this without hiding. Is it possible?

Please

Thank you
Roy Thomas

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by RoyMicro
1

Do this:

MyForm form = new MyForm();
form.ShowDialog();

What you need is a modal form and the way to pop a modal form up is to use ShowDialog() instead of just Show().

Hope I helped :)

Edited by Ravenheart: put code in [code]

Votes + Comments
Solves my issue and in time!
0

Hope I helped :)

Sure!

Answer meets my exact purpose and in time!
Thanks a lot!

regards
Roy Thomas.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.