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 / September 2005

Tip: Looking for answers? Try searching our database.

Multiple Forms Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clsmith66 - 06 Sep 2005 16:49 GMT
I am hoping someone can help me.  Is there any way to get a form to act like
a cross between a mdi child from and a dialog box?  I need to be able to
display the results of a users search from a main form into another "popup"
form and still be able to interact with the main form.  If I display the
results form as a dialog box, I can't get at the underlying form, and due to
the contstraints placed on the application I am unable to create a true mdi
area on the main form.  Any help pointing me in the right direction would be
greatly appreciated.

Chris
Oliver Sturm - 06 Sep 2005 17:41 GMT
>I am hoping someone can help me.  Is there any way to get a form to act
>like
[quoted text clipped - 7 lines]
>be
>greatly appreciated.

Can't you just show the other form using the Show() method (as opposed to
ShowDialog())? Maybe make it a topmost form if it needs to stay in front
of the main window. This will give you the behaviour commonly associated
with Find dialogs, for instance.

               Oliver Sturm
Signature

Expert programming and consulting services available
See http://www.sturmnet.org (try /blog as well)

clsmith66 - 07 Sep 2005 01:10 GMT
Thank you for your suggestion.  I had already tried this, but when I click on
the main form, the results form does not stay on top.  I can get it back on
top through code, but there is a "hicup" where you can see the results form
move to the bottom and then back on top again.  I was hoping there was a way
to alway keep the results form on top but it does not seem to be working for
me.

Chris

> >I am hoping someone can help me.  Is there any way to get a form to act
> >like
[quoted text clipped - 14 lines]
>
>                 Oliver Sturm
Oliver Sturm - 07 Sep 2005 09:26 GMT
>Thank you for your suggestion.  I had already tried this, but when I click
>on
[quoted text clipped - 5 lines]
>for
>me.

Did you try setting the form's TopMost property to True? It definitely
works for me.

               Oliver Sturm
Signature

Expert programming and consulting services available
See http://www.sturmnet.org (try /blog as well)


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.