Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:07:56+00:00 2026-05-23T16:07:56+00:00

So I have a menu form for my application, let us call it the

  • 0

So I have a menu form for my application, let us call it the grandparent. The user clicks a button, and it calls another form, let’s call it the parent form, with form.show(). Because I used show(), and not showdialog(), I can play around with either form now.

Then, in the parent form, I call a third form, let’s call it child, with a form.showdialog(). I want the user to have to close the child form before being able to do anything with the parent form, and that is exactly what happens. The problem is that now I can’t use the grandparent form either, it is locked until I close the child form, and I don’t want it to be.

In other words, I want the child form to be modal, but only in respect the parent form, not the grandparent form. Can such a thing be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:07:57+00:00Added an answer on May 23, 2026 at 4:07 pm

    if you can live with the fact that your parent and child forms live on another thread than you grandparent (so you will have to invoke when you need to use controls on the other thread) you could start a 2nd UI thread for your parent form …

    when the modal dialog blocks the message queue of the parent forms UI thread, the grandparents UI thread will still have its own non-blocked message queue …

    so instead of calling

    new ParentForm().Show();
    

    somewhere in the code of your grandparent-form call

    new System.Threading.Thread(
                        delegate() {
                            Application.Run(new ParentForm());
                        }
                    ).Start();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my main application Form I have a number of menu and toolbar button
I have a C# Windows Form application that contains a menu with this event:
I have an application with main form. the main form has menu and some
I want to have a generic menu in my JSF (MyFaces 1.2) application. <h:form>
I have a windows form application. On the main form a user will enter
I have a form on my Ruby on Rails3 Application with a drop menu,
I have wrote a frame application, it's a windows form app as parent form.When
I have a parent control (main form) and a child control (user control). The
I have developed a small C# form application which calls a web service. Everything
I have a very simple application with a form, a richedit and a menu.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.