Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2006

Tip: Looking for answers? Try searching our database.

Winform rants...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 07 Feb 2006 01:46 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.