chrisjohn82 Posted November 5, 2015 Share Posted November 5, 2015 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 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 5, 2015 Administrators Share Posted November 5, 2015 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. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 5, 2015 Administrators Share Posted November 5, 2015 Please download latest build and see below demos: Form With Parent 1 Form With Parent 2 Form With Parent 3 Form With Parent 4 Form With Parent 5 Quote Link to comment Share on other sites More sharing options...
chrisjohn82 Posted November 5, 2015 Author Share Posted November 5, 2015 Ok, thank you, i'll try that. Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted November 8, 2015 Share Posted November 8, 2015 Why not use TUniFrame ? Quote Link to comment Share on other sites More sharing options...
eliasipj Posted June 30, 2016 Share Posted June 30, 2016 HI Farshad Mohajeri! Why I can't download your examples files ? This is exactly what I need to do Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.