|
-
May 4th, 2004, 08:13 AM
#1
Thread Starter
Junior Member
Calling a Form
Hi All,
I am new to .NET.
I am facing a problem.
I have one MDI form and in that i am calling other forms.
I am able to call 2 forms but only one form i am not able to call from the MDI.
dim frmA as new frmEntry
frmA.Show()
this is what i written.
please anybody can help me in this
-
May 4th, 2004, 08:40 AM
#2
PowerPoster
Hi,
Have you made sure the MDIPARENT property of frmA is set to the correct parent?
Have you used SHOWDIALOG anywhere?
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
May 4th, 2004, 10:59 PM
#3
Thread Starter
Junior Member
Calling form from MDI
Yes, i set corect MDIPARENT
Below code i written in MenuItem click
Dim frmA As New frmMap()
frmA.mdiparent = Me
frmA.show()
-
May 5th, 2004, 04:15 AM
#4
PowerPoster
Hi,
In your first post you wrote
"dim frmA as new frmEntry
frmA.Show()
this is what i written."
In your second post you wrote
"Below code i written in MenuItem click
Dim frmA As New frmMap()
frmA.mdiparent = Me
frmA.show()"
Which is correct?
In which form have you written the above code?
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|