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?
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.
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 :-)
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