| Author |
MDI Loading multiple children
|
|
| Marvin van Dongen 2005-04-28, 8:55 pm |
| 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
| |
| Peter Aitken 2005-04-28, 8:55 pm |
| "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.
| |
| Marvin van Dongen 2005-04-28, 8:55 pm |
| 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.
>
| |
| Jeff Johnson [MVP: VB] 2005-04-28, 8:55 pm |
|
"Marvin van Dongen" <marvinNOvdongenSPAM@hotmail.com> wrote in message
news:4271469f$0$48945$dbd4f001@news.wanadoo.nl...
[color=darkred]
> 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.
| |
| Marvin van Dongen 2005-04-28, 8:55 pm |
| 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.
>
| |
| Peter Aitken 2005-04-29, 3:55 pm |
| 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.
| |
| Peter Aitken 2005-04-29, 3:55 pm |
| 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.
| |
| Ken Halter 2005-04-29, 8:55 pm |
| "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..
| |
| Jeff Johnson [MVP: VB] 2005-04-29, 8:55 pm |
|
"Peter Aitken" <paitken@CRAPnc.rr.com> wrote in message
news:upZwqNOTFHA.3464@tk2msftngp13.phx.gbl...
[color=darkred]
> 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."
|
|
|
|