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 / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

form didn't show

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cc - 17 Oct 2004 09:59 GMT
I have a mdi container , added panel(dock fill). when I tr  show a form  it
didn't come out(no error) , it's only show out when I show as showdialog.
how do I solve this, cause I don't want the form show as showdialog.
Cor Ligthert - 17 Oct 2004 10:25 GMT
CC

I think that you should show "some" code to get help, there are millions of
ways you could have done this.

And please copy it first in a notebook and than back in the message
otherwise it is mostly unreadable.

Cor
Cc - 17 Oct 2004 17:37 GMT
to make eazy to understand

1.   create mdi container form
                   |
                   | in the mdi container
                   |
2.       add Panel (set dock to fill) this will make panel fill up the whole
mdi container
                   |
                   | in panel
                   |
3.     add tabcontrol (set dock to fill) it will fillup the whole panel

from menu :
Private Sub ReplaceToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ReplaceToolStripMenuItem.Click

Dim m_oReplace As New findreplace(loc_openDocList, TabControl1)

m_oReplace.MdiParent = Me

m_oReplace.Show

(no error , but the form not showing out , I even try to set top most on the
child form but no use)

> CC
>
[quoted text clipped - 5 lines]
>
> Cor
Cor Ligthert - 17 Oct 2004 18:14 GMT
Cc,

What is this code
 Dim m_oReplace As New findreplace(loc_openDocList, TabControl1)

It says for me something as: instance a new form what has in the constructor
a whatever and a reference to a Tabcontrol which belongs to the MdiParent.

As well it is not impossible that your panel covers your MDIClient when that
is created on the MDIparent form in the sample you showed.

However it looks strange what you are doing..

Cor
Herfried K. Wagner [MVP] - 17 Oct 2004 11:26 GMT
"Cc" <kobolds@singnet.com.sg> schrieb:
> I have a mdi container , added panel(dock fill). when I tr  show
> a form  it  didn't come out(no error)

Are you showing the form as MDI child?

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/


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.