I have a dialog where I stack multiple panels.
Depending on some flags I bring one them to front.
Problem is, as long as the dialog has not been displayed, I cannot reorder
my panels !
So when I show it (with ShowDialog()) it's alway the first panel in front of
the other!
Even though I call
aPanel.BringToFront();
or Controls.SetChildIndex(aPanel, 0)
what could I do?
I think, just after initialize component I will remove all panel and add
them on demand.
but I wonder if there is any better solution...
Any tips?
Gabriel Magaña - 07 Feb 2006 01:54 GMT
Re-parent forms instead of using panels?
>I have a dialog where I stack multiple panels.
> Depending on some flags I bring one them to front.
[quoted text clipped - 13 lines]
>
> Any tips?
Lloyd Dupont - 07 Feb 2006 01:58 GMT
Yeah, I though of that.
it's when I realized there was some unexpected problem ;-)

Signature
Regards,
Lloyd Dupont
NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
> Re-parent forms instead of using panels?
>
[quoted text clipped - 15 lines]
>>
>> Any tips?
Lloyd Dupont - 07 Feb 2006 01:58 GMT
never mind: bug in my code!
I know, it's amazing ;-)

Signature
Regards,
Lloyd Dupont
NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
>I have a dialog where I stack multiple panels.
> Depending on some flags I bring one them to front.
[quoted text clipped - 13 lines]
>
> Any tips?
Peter Oliphant - 07 Feb 2006 18:25 GMT
> never mind: bug in my code!
> I know, it's amazing ;-)
Wow! Of course this has never happened to me personally.....ROFL
[==P==]
> never mind: bug in my code!
> I know, it's amazing ;-)
[quoted text clipped - 16 lines]
>>
>> Any tips?
Gabriel Magaña - 07 Feb 2006 21:24 GMT
> Wow! Of course this has never happened to me personally.....ROFL
Yeh, me neither... this danged VS2005 is sooo dang buggy!
Oh... wait... nevermind! LOL