Rob Hamflett skrev:
Don't set a value to the property at all.  The checkbox is checked based on whether the property is 
set,

How simple can it be. :-)

Thanks for the tip - it works just fine.

Regards Søren

 even if it's set to 0.  CheckBoxValue is the value assigned to the property when the checkbox 
is checked, so you probably want this to be 1.  You'd then use LAUNCH = 1 or LAUNCH <> 1 in your 
conditions.

Rob

Søren Schimkat wrote:
  
Hi Guys

I have a checkbox in my gui which is bound to a property:


<Property Id='LAUNCH'>0</Property>
[snip]
<Control Id="Launch" Type="CheckBox" X="135" Y="120" Width="150" 
Height="17" Property='LAUNCH' CheckBoxValue='0'>
  <Text>Launch Program</Text>
</Control>


Everything is working just fine - except that the checkbox is default 
checked, and I would like to have it default not-checked.

A hint on that one would be nice.


------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
    


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
  


-- 
mvh Søren Schimkat

www.schimkat.dk

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to