Execute Custom action on combobox selection changed - Advanced Installer Community
mramos
Posts: 1
Joined: Tue Nov 18, 2014 7:06 pm

Execute Custom action on combobox selection changed

Hi

I'm trying to execute a custom action (C# Function from attached native dll), when a selection on a combobox is made. The combo box is an IISBrowse and I need to fill in some URLs on the same dialog, to reflect the selected website.

Can anyone help with the proper steps? I know it is possible to do this using the Next button, but I'm trying to avoid adding a new dialog just for this, if at all possible.


Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Execute Custom action on combobox selection changed

Hello and welcome to Advanced Installer forums,

In order to achieve this, you can execute the your custom action as a published event published event from the combobox control.
So, instead execute the custom action as a published event from the Next control, you can execute it as a published event on the combobox control.

You can also take a look on the How do I execute a custom action when a button is pushed? article which may be useful to you.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”