How to Change Dialog size at runtime

Got a problem you cannot solve? Try here.
hdwivedi23
Posts: 17
Joined: Mon Oct 14, 2013 6:41 pm

How to Change Dialog size at runtime

Postby hdwivedi23 » 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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: How to Change Dialog size at runtime

Postby FrancescoT » Fri Apr 17, 2015 1:02 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 90 guests