|
-
January 4th, 2000, 06:35 PM
#1
How do I make one form the child of another
I have two different forms. One is the main form, the other is the options box. When i click on the button to display the options box I want it to come up as centered on the main dialog box. I've tried using the setting centered on parent, but that doesn't work, because the main form isn't the parent of the options form. Any ideas?
-
January 5th, 2000, 04:57 AM
#2
Re: How do I make one form the child of another
Set the MDIChild property of the Options dialog to True. Ensure the main form is based on an MDI form object.
-
January 5th, 2000, 07:05 AM
#3
Re: How do I make one form the child of another
frmOptions.Show vbModal (or modeless), Me
Me is the owner form so it should be centered
Crazy D @ Work :-)
-
January 5th, 2000, 10:47 AM
#4
Re: How do I make one form the child of another
private Sub Command1_Click()
YourForm.Show false ,me
'Change false to true to display the form as modal
End Sub
Rippin
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
|