Jump to content

Display form inside another form on a panel


chrisjohn82

Recommended Posts

Hi everyone, 

Im trying to display a form(form4) inside another form(form3) that has a panel and that panel would act as a layoutbase for form4 but im not getting it to work. I tried to first show the form ex form4.show and that works but then when i do form4.SetParent(form3.layoutbase);  i keep getting access violation error. THIS should happen onCreate for form3, i have attached to screen shots to easier understand want im trying to do. 

 

Best Regards

Christian Johnson

post-3010-0-11262800-1446747391_thumb.png

post-3010-0-75414700-1446747398_thumb.png

Link to comment
Share on other sites

  • Administrators

Hi everyone, 

Im trying to display a form(form4) inside another form(form3) that has a panel and that panel would act as a layoutbase for form4 but im not getting it to work. I tried to first show the form ex form4.show and that works but then when i do form4.SetParent(form3.layoutbase);  i keep getting access violation error. THIS should happen onCreate for form3, i have attached to screen shots to easier understand want im trying to do. 

 

Best Regards

Christian Johnson

 

This feature is available in latest build 1219.

Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...