Page 1 of 1

How to Change Dialog size at runtime

Posted: Thu Apr 16, 2015 6:10 pm
by hdwivedi23
I have an install that we use on Windows 7 and Windows 8 (Desktop and tablet both). On tablet, install dialog size is bigger than the tablet screen. Due to this buttons on the bottom of the dialog are not accessible.

I am looking for two things:

1) Allow user to change dialog size. (I tried using Form object property BorderStyle=bsSizeable, but it did not work)

2) On running the installer automatically adjust Dialog size based on the target machine screen size (Resolution).

In both cases, the controls on the dialog should scale based on dialog size(So that they are still visible, even when dialog size changes)

Can someone please help me with this?

Re: How to Change Dialog size at runtime

Posted: Fri Apr 17, 2015 1:02 pm
by FrancescoT
Dear hdwivedi23,

unfortunately it's not possible to control the setup dialog size at Runtime.

Currently the only alternative is to create a dedicated set of dialogs that you may display conditionally (...when the setup is executed on such devices or when specific target screen size conditions are true).

Regards