473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

form didn't show

Cc
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.
Nov 21 '05 #1
4 1047
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
Nov 21 '05 #2
"Cc" <ko*****@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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3
Cc
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)



"Cor Ligthert" <no************@planet.nl> wrote in message
news:Or**************@TK2MSFTNGP14.phx.gbl...
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

Nov 21 '05 #4
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
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
2
by: Pete | last post by:
Before I get started with the question, does anyone have a (single) good book recommendation for database design? Not an Access-specific book, but something geared toward helping me figure out...
5
by: ortaias | last post by:
I have a form which calls up a second form for purposes of data entry. When closing the data entry form and returning to the main form, things don't work as expected. When I return to the main...
9
by: RichG | last post by:
In VB 5 I could have a form named frmTest and open it with frmTest.Show Now in VB.net I have to Dim frm as New frmTest frm.show The problem is I only want one instance of frmTest open, not a...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
10
by: sara | last post by:
Hi - I have been struggling with solution ideas for this now for almost 2 weeks, and have not been able to figure this out. I have a user who creates a Purchase Order (tblPOData). In some...
22
by: Zytan | last post by:
I have public methods in a form. The main form calls them, to update that form's display. This form is like a real-time view of data that is changing. But, the form may not exist (it is...
9
by: RvGrah | last post by:
I'm completely new to using background threading, though I have downloaded and run through several samples and understood how they worked. My question is: I have an app whose primary form...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.