|
-
February 3rd, 2000, 09:35 AM
#1
modal in MDI
In VB, MDI child forms cannot be shown as Modal. why??
Is there a way around this?
-
February 3rd, 2000, 09:43 AM
#2
Re: modal in MDI
Assuming you want them to be Application-Modal and not System-Modal, the only way to do it (that i know) is to disable all MDIChild forms that have been opened so far (Form.Enabled=False) and then open the form you want. Then in each form's Unload event, Re-Enable the last form that was opened before the one you are closing.
Not a very elegant way but it works.
I have some code for this but i have to search. Just let me know if you want it.
-------------------------
Nick A.
-
February 3rd, 2000, 09:45 AM
#3
Re: modal in MDI
As for the WHY-part of your question.....
Ask uncle Bill. I had the same question sometime ago until i got tired to wait for an answer and emulated it. 
-------------------------
Nick A.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|