The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Display Modes
Old 11-08-2007, 08:30 PM   #1
Newbie
 
sliturnek's Avatar
 
Join Date: Oct 2007
Location: Syracuse NY
Vehicle: 95 Nissan Hardbody
Posts: 35
My Photos: (1)
vb.net 03 MDI questions

I am trying to build an application with the frmMain as the MDI parent and unlimited MDI child forms that will launch web browsers inside of them.. i have set my frmMain to IsMdiContainer = true so now how do i build child forms inside it?
sliturnek is offline   Reply With Quote
Sponsored Links
Old 01-17-2008, 02:12 PM   #2
Newbie
 
Join Date: Oct 2007
Posts: 1
My Photos: (0)
OK.

Lets say Form1 is your MDI parent, and form2 is the child window you wanty to use.
#

Dim frmChild as new Form2
frmChild.MdiParent=Form1
frmchild.show()
jh71283 is offline   Reply With Quote
Old 01-17-2008, 02:17 PM   #3
Maximum Bitrate
galvitron's CarPC Specs
 
galvitron's Avatar
 
Join Date: Mar 2007
Location: Socal
Vehicle: 2006 Evo MR
Posts: 584
My Photos: (0)
You may want to keep a global variable to hold the form. This always has only one instance of that form type and prevents the user from opening unlimited forms

In the parent form:

private MyForm as frmFormExample

then when you instantiate the form:

if MyForm is nothing orelse MyForm.IsDisposed then

MyForm = new frmFormExample
MyForm.MdiParent = Me

else

MyForm.FormState = Normal

end if

MyForm.Show()
__________________
2006 Lancer Evolution IX MR In-Dash PC Project - WIP

Planning:
[----------] 100%
Purchasing:
[----------] 100%
Installation/Fab/Assembly (Revised):
[----------] 80%

galvitron is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing music in 1.0.9.8 Failed hovalistic StreetDeck 0 07-07-2007 11:19 AM
TT Sirius USB interface Pyrotek General Hardware Discussion 0 09-08-2005 08:15 AM
questions and more questions cortinaking Newbie 6 06-16-2005 02:02 PM
Will someone be willing to answer a few questions about the Vietnam War for an essay? guitar333 Off Topic 6 05-25-2005 11:53 AM
Laptop Installation Questions On an 03 altima daguju1der Newbie 0 07-12-2004 10:16 AM


All times are GMT -5. The time now is 08:38 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics