Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

MDI Loading multiple children
Hello,

I'm having a weird problem with an MDI form and it's children.I have a main
MDIForm and two children. On the main form there are is an Explorer control
(www.vbaccelerator.com) to switch between the forms. On startup, form1 is
loaded. Then i click the item to load form2, wich goes fine. When form2 is
loaded, it first hides form1 and then shows form2. Then when i want to
switch back to form1, form2 is hidden and form1 is showed again. However,
form1 isn't showed! When i look at the debug, after the Form1.show command:
nothing happens. Can anyone tell me what i'm doing wrong?

Thnx in advance,

Marvin



Report this thread to moderator Post Follow-up to this message
Old Post
Marvin van Dongen
04-29-05 01:55 AM


Re: MDI Loading multiple children
"Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
news:42713f7c$0$98428$dbd43001@news.wanadoo.nl...
> Hello,
>
> I'm having a weird problem with an MDI form and it's children.I have a
> main MDIForm and two children. On the main form there are is an Explorer
> control (www.vbaccelerator.com) to switch between the forms. On startup,
> form1 is loaded. Then i click the item to load form2, wich goes fine. When
> form2 is loaded, it first hides form1 and then shows form2. Then when i
> want to switch back to form1, form2 is hidden and form1 is showed again.
> However, form1 isn't showed! When i look at the debug, after the
> Form1.show command: nothing happens. Can anyone tell me what i'm doing
> wrong?
>
> Thnx in advance,
>
> Marvin
>

Are you sure you need MDI forms for this app?


--
Peter Aitken

Remove the crap from my email address before using.



Report this thread to moderator Post Follow-up to this message
Old Post
Peter Aitken
04-29-05 01:55 AM


Re: MDI Loading multiple children
Yes, because there are about 30 forms to come :-).

Marvin

"Peter Aitken" <paitken@CRAPnc.rr.com> schreef in bericht
news:uRVdY%23CTFHA.3980@TK2MSFTNGP12.phx.gbl...
> "Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
> news:42713f7c$0$98428$dbd43001@news.wanadoo.nl... 
>
> Are you sure you need MDI forms for this app?
>
>
> --
> Peter Aitken
>
> Remove the crap from my email address before using.
>



Report this thread to moderator Post Follow-up to this message
Old Post
Marvin van Dongen
04-29-05 01:55 AM


Re: MDI Loading multiple children
"Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
news:4271469f$0$48945$dbd4f001@news.wanadoo.nl...
 

> Yes, because there are about 30 forms to come :-).

The number of forms in an application has absolutely no bearing on whether
it should be MDI vs. SDI.



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Johnson [MVP: VB]
04-29-05 01:55 AM


Re: MDI Loading multiple children
You are right, but the choice between SDI or MDI is not the question
here.....

Marvin

"Jeff Johnson [MVP: VB]" <i.get@enough.spam> schreef in bericht
news:udApxDDTFHA.3244@TK2MSFTNGP15.phx.gbl...
>
> "Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
> news:4271469f$0$48945$dbd4f001@news.wanadoo.nl...
> 
> 
>
> The number of forms in an application has absolutely no bearing on whether
> it should be MDI vs. SDI.
>



Report this thread to moderator Post Follow-up to this message
Old Post
Marvin van Dongen
04-29-05 01:55 AM


Re: MDI Loading multiple children
Reply at the bottom where it belongs.

"Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
news:4271469f$0$48945$dbd4f001@news.wanadoo.nl...
> Yes, because there are about 30 forms to come :-).
>
> Marvin
>
> "Peter Aitken" <paitken@CRAPnc.rr.com> schreef in bericht
> news:uRVdY%23CTFHA.3980@TK2MSFTNGP12.phx.gbl... 
>
>

What does the number of forms have to do with MDI or not MDI? Nothing as far
as I know. MDI is for the specific situation where you need forms that are
exactly identical except for the data they contain.


--
Peter Aitken

Remove the crap from my email address before using.



Report this thread to moderator Post Follow-up to this message
Old Post
Peter Aitken
04-29-05 08:55 PM


Re: MDI Loading multiple children
Reply at the bottom where it belongs.

"Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
news:427149fc$0$43939$dbd4f001@news.wanadoo.nl...
> You are right, but the choice between SDI or MDI is not the question
> here.....
>
> Marvin
>
> "Jeff Johnson [MVP: VB]" <i.get@enough.spam> schreef in bericht
> news:udApxDDTFHA.3244@TK2MSFTNGP15.phx.gbl... 
>

I think it is. Your problem I believe stems from using MDI instead of SDI.


--
Peter Aitken

Remove the crap from my email address before using.



Report this thread to moderator Post Follow-up to this message
Old Post
Peter Aitken
04-29-05 08:55 PM


Re: MDI Loading multiple children
"Peter Aitken" <paitken@CRAPnc.rr.com> wrote in message
news:e%23nUCNOTFHA.2872@TK2MSFTNGP14.phx.gbl...
> Reply at the bottom where it belongs.

No fair complaining about top vs bottom posting without >trimming your
replies!< <g>

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..



Report this thread to moderator Post Follow-up to this message
Old Post
Ken Halter
04-30-05 01:55 AM


Re: MDI Loading multiple children
"Peter Aitken" <paitken@CRAPnc.rr.com> wrote in message
news:upZwqNOTFHA.3464@tk2msftngp13.phx.gbl...
 

> I think it is. Your problem I believe stems from using MDI instead of SDI.

I think he means "the decision has been made and will not be changed,
therefore I want an answer as to how to deal with the limitations of the
framework that has been selected." In other words, "please tell me how big a
hammer we need because we're not going to change the square peg to a round
one."



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Johnson [MVP: VB]
04-30-05 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:21 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.