Jump to content

form in frame


jahlxx

Recommended Posts

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...

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. 

Link to comment
Share on other sites

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...