Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is it possible to open a child form in modal type?

Is it possible to open a child form in modal type?
From the calling form, you use the following code:
Dim f As New Form1
f.ShowDialog(Me) 
The key is the ShowDialog method. By passing the calling form itself, you set it as the owner window for the child.

Dig Deeper on C# programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

TheServerSide.com

Close