How to Change Dialog size at runtime
Posted: Thu Apr 16, 2015 6:10 pm
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?
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?