Enable/Disable Combobox according to Checkbox selection WIX -


how enable/disable combobox according checkbox selection. want in way if checkbox checked combobox enabled , if checkbox unchecked combobox disabled. didn't find clue putting conditions in control of type combobox. suggestions?????

you can use condition enable or disable combo box based on check box property.

<control id="combobox_test" type="combobox" x="147" y="60" width="163" height="16" property="test">      <condition action="enable">testcheckbox=1</condition>      <condition action="disable">testcheckbox &lt;&gt; 1</condition> </control>  <control type="checkbox" id="checkbox_test" width="105" height="17" x="158" y="172" text="test" checkboxvalue="1" property="testcheckbox" /> 

edit:

for requirement, this.

  <control id="apppoolcombo" type="combobox" property="apppoolvalue" sorted="yes" combolist="yes" x="165" y="124" width="149" height="16">                 <combobox property="apppoolvalue">                     <listitem text="default application pool" value="default application pool" />                     <listitem text="integrated" value="integrated" />                     <listitem text="classic" value="classic" />                 </combobox>               <condition action="enable">testcheckbox=1</condition>               <condition action="disable">testcheckbox &lt;&gt; 1</condition>             </control> 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -