Here's a couple of snippets from a license agreement dialog, where the 'Next'
button is
enabled/disabled depending on a radio button selection showing you
agree/disagree with the license
agreement. Hopefully you can get something from this.
Rob
<Dialog ... >
<Control Id="Buttons" Type="RadioButtonGroup" X="20" Y="187" Width="330"
Height="40"
Property="IAgree" />
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17"
Default="yes"
Text="[ButtonText_Next]">
<Publish Event="SpawnWaitDialog"
Value="WaitForCostingDlg"><![CDATA[CostingComplete = 1]]></Publish>
<Publish Event="NewDialog" Value="SetupTypeDlg"><![CDATA[IAgree =
"Yes"]]></Publish>
<Condition Action="disable"><![CDATA[IAgree <> "Yes"]]></Condition>
<Condition Action="enable"><![CDATA[IAgree = "Yes"]]></Condition>
</Control>
...
</Dialog>
<RadioButtonGroup Property="IAgree">
<RadioButton Text="{\DlgFont8}$(loc.IAccept)" X="5" Y="0" Width="250"
Height="15" Value="Yes"/>
<RadioButton Text="{\DlgFont8}$(loc.IDoNotAccept)" X="5" Y="20"
Width="250" Height="15" Value="No"/>
</RadioButtonGroup>
...
Chris wrote:
> Hello,
> I have 2 radiobuttons in a radiobutton-groupbox and I would like to
> enable/disable another control of the same dialog (which is another
> radio-groupbox in my case) depending on the checked radio-button.
>
> I hope you can help me with this!
> Regards,
> Chris
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users