regant
Posts: 10
Joined: Thu Mar 14, 2013 9:03 pm

Set default in combo box

I am trying to add a web app to my installation. I want the user to be able to select which web site to use. I have added a dialog to do this. The problem is the selection is always blank by default. I want it set to the first option when there is only one site configured (the most common with our customers).

So, how do I set the combo box to the first entry when there is only one element?

I am using Advanced Installer 9.9.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Set default in combo box

Hi,

In order to achieve this you can select "Control Data" from the context menu of the combo box and in the newly appeared dialog use the [Selected] button on the entry you want to be displayed by default.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
regant
Posts: 10
Joined: Thu Mar 14, 2013 9:03 pm

Re: Set default in combo box

I am using the IISBrowseComboBox, which is filled in dynamically at the customer site. How can I select an entry at design time when this is dynamically filled in?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Set default in combo box

Hi,

A similar problem was discussed in the Defaulting combobox whose contents are generated at runtime thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
regant
Posts: 10
Joined: Thu Mar 14, 2013 9:03 pm

Re: Set default in combo box

That's what I was looking for, but could not find the thread in my searches.

Thanks.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Set default in combo box

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”