We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Conditionally disabling controls within a dialog

Can you point me to a How To on how to selectively disable controls when other controls are used? Specifically, I want to disable some edit boxes when a checkbox within the same dialog page is unchecked. This seems like a pretty common operation, but it is unclear to me how to set up a custom action and control event for this.

Also, is there a list of properties like _BrowseProperty posted somewhere? It's hard to know what existing properties are out there without seeing them documented.

Thank you,

Brian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Conditionally disabling controls within a dialog

Hello Brian and welcome to our forums,

To achieve what you want you should simply add control conditions on each one of your edit boxes like this:
  • Condition: NOT CHECKBOX_PROP
    Action:Disable

    Condition: CHECKBOX_PROP
    Action:Enable
Also, is there a list of properties like _BrowseProperty posted somewhere? It's hard to know what existing properties are out there without seeing them documented.
Unfortunately not. Maybe we will improve our user guide with more details about our internal properties in the future. Thank you for your suggestion.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Re: Conditionally disabling controls within a dialog

Thank you, that worked well.

Brian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Conditionally disabling controls within a dialog

You're always welcome Brian.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”