it may be that the script "RerunDesignerScript" is not running when panel.LoadLayout ("frmTest")?
The size of the 2 images in the screenshot should be the same!
Hallo Filippi.
Im Designer Script entsprechen 100%x und 100%y der Breite und Höhe des Elternobjects und nicht der Breite und Höhe des Bildschirms.
Also in Deinem Fall im Layout frmTest musst Du
Panel1.Height=30%y
durch
Panel1.Height=100%y
ersetzen.
In the Designer Script 100%x and 100%y correspont to the width and height of the parent object and to the width and height of the screen.
In your case in the frmTest layout you should replace
Panel1.Height=30%y
by
Panel1.Height=100%y
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.