There are the checkbox and the button on the dialog I use, I am trying to
disable the button if the checkbox is not checked and vice versa. Here is
the snippet of the wixUI code:
      <Control Id="AgreeCheckbox" Type="CheckBox" X="20" Y="220" Width="250"
Height="10" 
               Text="{\DlgFont8}I have read and agree to the terms of the
license agreement."
               Property="AgreeLicensing" CheckBoxValue="0"/>
      <Control Id="Install" Type="PushButton" X="180" Y="243" Width="56"
Height="17"
          Default="yes" Text="Install">
        <Publish Event="NewDialog" Value="ProgressDlg" />
        <Condition
Action="disable"><![CDATA[AgreeLicensing<>1]]></Condition>
        <Condition Action="enable">AgreeLicensing=1</Condition>
      </Control>
However, the state of the button is always disabled despite the checked
state of the checkbox.

What I am doing wrong??

-- 
View this message in context: 
http://n2.nabble.com/Enable-Disable-button-based-on-checkbox-value---tp1100121p1100121.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to