Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Non modal form accessible from modal forms

Status
Not open for further replies.

sarahnice

Technical User
Nov 18, 2002
101
IE
Hi all,

I am updating an existing application. The current situation is that the user can open a modal form (form1) from the main app window. From this form, they can open another modal form (form2).

On the form1 I have added a button that opens a non modal form (form3). form1 and form3 are both accessible at the same time when the button on form1 is clicked, which is fine.

form2 also contains a button to open form3, and again when both these forms are open, when the button on form2 is clicked, I can edit data on either.

The problem I have is when I open form3 from form1, then I open form2 from form1, form3 is no longer accessible because form2 is modal. Is there a way use form3, when it was opened from form1, and then form2 was opened.

I cannot change the modallity of form1 or form2. form3 is like a side window that should be accessible when either form1 or form2 are open, regardless of which of these opened form3.

I hope that makes sense and that someone can help.

Thanks
Sarah
 
There's not really anything that can be done without changing the modality of form2 to make this function happen. If you have a modal form, it means that no input can happen in any other form (keyboard or mouse) unless that modal form. Which means that form3 can not be accessed (or form1 for that matter).

Sorry.

Measurement is not management.
 
I thought so but was still hopeful. Thanks for your reply.

I think the best option is to close the form3 when form2 is opened, forcing the user to re-open form3 from form2.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top