Jump to content

How to embed a form inside UnimContainer?


TJO

Recommended Posts

Hi

Is it possible to embed a form inside a UnimContainer in touch mode?

I have tried setting the parent value, but the form is kind of "floating" instead of beeing embedded.

 

Link to comment
Share on other sites

I am testing how to create a SPA with multiple forms. 

When clicking on the button "Embed form" the form is centered in the browser window instead of beeing fitted in the darker blue area.

If i am using frames it works, but i would like to use forms instead.

 

 frm:=TModalTest.Create(uniGuiApplication.UniApplication);
 frm.parent:=UnimContainerPanel2;
 frm.Show;

 

image.png.774f791a4c1c472ad4c81e35b910b23d.png

 

image.thumb.png.6a5b75a3791f9389f8d331dbcff4d3cd.png

 

 

 

 

 

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