|
-
Oct 8th, 2000, 01:46 PM
#1
Thread Starter
Hyperactive Member
You know how in word you can have multipal documents open? Say I have a MDI project, and I have a new command, and it is suposed to open a form named frmnew, how can I tell it to open that form like 10 times, if I were to click the NEW button 10 times?
-
Oct 8th, 2000, 02:01 PM
#2
Code:
Dim newfrm As New frmnew
newfrm.Show
-
Oct 8th, 2000, 02:05 PM
#3
Thread Starter
Hyperactive Member
First time I open it
The first time I open it it opens the form twice, but every time after that it only opens it once.
-
Oct 8th, 2000, 02:08 PM
#4
It should only open once everytime. You sure you don't have this by mistake?
Code:
Dim newfrm As New frmnew
Dim newfrm As New frmnew
newfrm.Show
-
Oct 8th, 2000, 02:09 PM
#5
Thread Starter
Hyperactive Member
Private Sub New_Click(Index As Integer)
Dim newfrm As New FRMNew
newfrm.Show
End Sub
-
Oct 8th, 2000, 02:14 PM
#6
Also, TURN OFF the AutoShowChild property of the MDI form.
-
Oct 8th, 2000, 02:17 PM
#7
Thread Starter
Hyperactive Member
resize?
It was happeing because I had a resize for the rich text box, to keep it the same size as the form. It was makeing a new one. Any ideas on how to do a resize and not make it open a second one?
-
Oct 8th, 2000, 07:52 PM
#8
As long as you Dim it, you have access to it, so you don't have to make it visible or anything.
Just a...
Code:
Dim newfrm As New frmnew
And type a newfrm. and you will get a list. You should know what to do from there.
Is that what you are meaning to do?
-
Oct 8th, 2000, 08:07 PM
#9
What was your code for resizing the RTB? Please also tell me where you placed it, like:
Code:
FormChild_Resize()
...
...
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
|