Bug in panel.LoadLayout ?

D

Deleted member 103

Guest
Hi Erel,

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!

Ciao,
Filippo
 

Attachments

  • DesignerScriptBug_1.zip
    111.7 KB · Views: 205
  • screenshot_1.jpg
    screenshot_1.jpg
    50.3 KB · Views: 234
D

Deleted member 103

Guest
I'm sorry, but I do not understand it!
Can you my example so change that both images are the same height?
 

klaus

Expert
Licensed User
Longtime User
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

Best regards.
 
Top