I'm trying to open a form inside a panel in Delphi, but apparently the form opens with the same panel size, but outside it.
I did so ...
UniForm1.Parent := UniPanel1;
UniForm1.Show;
I have solved the following code in addition to changing WindowState from wsMaximized to wsNormal and the Position to poDefaultPosOnly .
UniForm1.Width := UniPanel1.Width;
UniForm1.Height := UniPanel1.Height;
If you use a Frame instead of a Form you can do what you want.
tuaFrame:=TUniFrame1.Create(self);
tuaFrame.Parent:=teuPainel;
tuaFrame.Align:=alclient;
tuaFrame.Visible:=true;