jahlxx Posted May 4, 2016 Share Posted May 4, 2016 hi. I'm trying to design my app like the demo of unigui, with forms in frames and tabsheets. I do this: FClassName := 'Tftest'; FrC := TUniFrameClass(FindClass(FClassName)); Fr := FrC.Create(Self); Fr.Align := alClient; Fr.Parent := Ts; and I get the error: Form Owner must be UniApplication. where can be my error? thanks. Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted May 4, 2016 Share Posted May 4, 2016 on your frame you registered the class? Ex: initialization RegisterClass(Tftest); Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 4, 2016 Author Share Posted May 4, 2016 yes, in the form ftest. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 4, 2016 Author Share Posted May 4, 2016 ok. sorry. I need a frame before the form. I forgot this detail. thanks, and sorry again (beginners issues). Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 4, 2016 Author Share Posted May 4, 2016 now it works. but now, I need that the form, when is maximized, fill the container. When the form is maximized, it fills all the page on the browser, and if the form us movable, I can put it out the container. This don't must be in this way. I have seen de fit form in parent in the demo, but I can't clarify to me. Some help please. Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 4, 2016 Author Share Posted May 4, 2016 layout of the frame = fit Quote Link to comment Share on other sites More sharing options...
asapltda Posted April 24, 2018 Share Posted April 24, 2018 review this link 1 Quote Link to comment Share on other sites More sharing options...
ajp68 Posted June 6, 2018 Share Posted June 6, 2018 I am new to UniGui and trying to build test application in C++Builder. I have seen examples of creating UniFrame at run time on click of menu selection. All the samples are in Delphi. How same can be created in C++Builder. 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.