Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
New to MDI Posted by merkava on 10 Feb 2005 at 5:32 PM
I am new to the MDI environment
I want a Child form to behave in a modal mode.

TIA
Report
Re: New to MDI Posted by infidel on 11 Feb 2005 at 6:50 AM
: I am new to the MDI environment
: I want a Child form to behave in a modal mode.

Not possible. A form can be either a child or modal, but not both.


infidel

$ select * from users where clue > 0
no rows returned


Report
Re: New to MDI Posted by merkava on 12 Feb 2005 at 2:39 PM
: : I am new to the MDI environment
: : I want a Child form to behave in a modal mode.


I am aware that a child form cannot be modal, that is why wrote "Behave". I want to open a series of forms and that the last form opened always has the focus
Report
Re: New to MDI Posted by infidel on 15 Feb 2005 at 8:04 AM
: : : I am new to the MDI environment
: : : I want a Child form to behave in a modal mode.
:
:
: I am aware that a child form cannot be modal, that is why wrote "Behave". I want to open a series of forms and that the last form opened always has the focus

I suppose that if you kept track of the last openened form in a global variable, every form could compare itself to that variable in it's Form_Activate event to switch back to the pseudo-modal form if someone tried to change it, but this seems silly to me. If you want modal function, use a modal form.


infidel

$ select * from users where clue > 0
no rows returned


Report
Re: New to MDI Posted by merkava on 16 Feb 2005 at 3:03 PM
I guess that you are correct, I am going have to rethink the flow of the app



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.