jahlxx Posted May 4, 2016 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
Marlon Nardi Posted May 4, 2016 Posted May 4, 2016 on your frame you registered the class? Ex: initialization RegisterClass(Tftest); Quote
jahlxx Posted May 4, 2016 Author Posted May 4, 2016 ok. sorry. I need a frame before the form. I forgot this detail. thanks, and sorry again (beginners issues). Quote
jahlxx Posted May 4, 2016 Author 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
ajp68 Posted June 6, 2018 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
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.