Discussion:
[WiX-users] How to set control disabled/enabled on checkbox action?
David Bartmess
2009-05-14 22:05:04 UTC
Permalink
I have a series of checkboxes that depend on each other, such as cbA is checked, then enable cbB, which enables cbC.

How can I check within the dialog that a checkbox has been checked/unchecked and modify the other checkboxes as needed?

I can't use featureselection control, because I have to hide certain features from being seen through a UI created variable...

Thanks!

David Bartmess
Wall Street On Demand
***@wallst.com<mailto:***@wallst.com>
direct: 303.417.9999 x585
cell: 303.883-9117
fax: 303.444.2586
Rob Mensching
2009-05-15 05:34:24 UTC
Permalink
I'm not a UI expert, but I've seen it said here that UI controls on a
dialog cannot modify the state of other controls in a dialog until you
refresh the dialog (Back/Next). Archives might prove that true.
Post by David Bartmess
I have a series of checkboxes that depend on each other, such as cbA is checked, then enable cbB, which enables cbC.
How can I check within the dialog that a checkbox has been checked/unchecked and modify the other checkboxes as needed?
I can't use featureselection control, because I have to hide certain features from being seen through a UI created variable...
Thanks!
David Bartmess
Wall Street On Demand
direct: 303.417.9999 x585
cell: 303.883-9117
fax: 303.444.2586
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
David Bartmess
2009-05-15 15:21:05 UTC
Permalink
I've managed to make it enable/disable other checkboxes on checking a checkbox, for instance, checkboxA is checked, and checkboxB is then enabled. It works without refreshing anything so far...

But I can't seem to find a way to uncheck a checkbox programmatically...

-----Original Message-----
From: Rob Mensching [mailto:***@wixtoolset.org]
Sent: Thursday, May 14, 2009 11:34 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to set control disabled/enabled on checkbox action?

I'm not a UI expert, but I've seen it said here that UI controls on a dialog cannot modify the state of other controls in a dialog until you refresh the dialog (Back/Next). Archives might prove that true.
Post by David Bartmess
I have a series of checkboxes that depend on each other, such as cbA is checked, then enable cbB, which enables cbC.
How can I check within the dialog that a checkbox has been checked/unchecked and modify the other checkboxes as needed?
I can't use featureselection control, because I have to hide certain features from being seen through a UI created variable...
Thanks!
David Bartmess
Wall Street On Demand
direct: 303.417.9999 x585
cell: 303.883-9117
fax: 303.444.2586
----------------------------------------------------------------------
-------- Crystal Reports - New Free Runtime and 30 Day Trial Check out
the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Loading...