|
-
March 16th, 2005, 07:34 PM
#1
help me with mdi
hi guys, started recently with visual basic.net. And i'm enjoying it. But i have a problem with mdi. I cant seem to set them up.
i have set the ismdicontainer property parent form to true.
And my code looks like this:
Dim form3 As New Form3
form3.mdiparent = me
form3.show
But it doesn't seem to work..
Can anybody help me? What am i doing wrong?
Did I put this code in the wrong form?
-
March 17th, 2005, 07:39 AM
#2
Re: help me with mdi
hmmm...is it typo error?
dim form3 as new form3
form3.mdiparent = me
form3.show()
should be:
dim frm as new form3
frm.mdiparent = me
frm.show()
this should work, form3 is a new class, so u need to dim {variable} as new {class}...
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
|