StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
MDI parent and child
MDI parent and child
Post Reply
Like
0
MDI parent and child
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StrataFrame Team
S
StrataFrame Team
posted 19 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
No problem
Reply
Like
0
Daniel Essin
Daniel Essin
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 235,
Visits: 309
You know, I think I knew that at some point. Thanks for reminding me.
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 19 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
From the google searching I've been able to do on that error message, it appears you cannot add a form to another form's controls collection. Whenever I try to reproduce this, I can only get the error message when trying to set the Parent property of the child form to the instance of the main form, which tries to add the child as a control onto the main form. However, in an MDI environment you should use the MdiParent property, not the Parent property, which should produce the functionality you're looking for
Reply
Like
0
Daniel Essin
Daniel Essin
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 235,
Visits: 309
I have 2 of your StandardForms. I set one to be an MDI parent and the other to be an MDI child. When I tried to set the parent property of the child it throws an exception:
Top-level control cannot be added to a control.
???
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search