Re: [WiX-users] enabling a control with a radiobutton in the same dialog

2007-11-13 Thread Rob Hamflett
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] enabling a control with a radiobutton in the same dialog

2007-11-13 Thread Richard

In article [EMAIL PROTECTED],
Rob Hamflett [EMAIL PROTECTED]  writes:

   Publish Event=SpawnWaitDialog Value=WaitForCostingDlg![CDATA[Cos
tingComplete = 1]]/Publish

Do you really need this ![CDATA[]] business?
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] enabling a control with a radiobutton in the same dialog

2007-11-13 Thread Rob Hamflett
Probably not, but that's how dark decompiled it.

Rob

Richard wrote:
 In article [EMAIL PROTECTED],
 Rob Hamflett [EMAIL PROTECTED]  writes:
 
  Publish Event=SpawnWaitDialog Value=WaitForCostingDlg![CDATA[Cos
 tingComplete = 1]]/Publish
 
 Do you really need this ![CDATA[]] business?


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] enabling a control with a radiobutton in the same dialog

2007-11-13 Thread Adam Majer
Richard wrote:
 In article [EMAIL PROTECTED],
 Rob Hamflett [EMAIL PROTECTED]  writes:
 
  Publish Event=SpawnWaitDialog Value=WaitForCostingDlg![CDATA[Cos
 tingComplete = 1]]/Publish
 
 Do you really need this ![CDATA[]] business?

CDATA sections is not needed in XML. It is only used if you don't want
to escape special characters like  and/or want to preserve whitespace.
Regular XML does not preserve whitespace.

Of course, there is still the problem with ]] in your text! Though I'm
not sure many people use that.

- Adam


-
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] enabling a control with a radiobutton in the same dialog

2007-11-12 Thread Chris
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/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users