Douglas:
In this case, you would expect to see a checkbox & textbox on the dialog.
While checkbox is unchecked, I would expect for the textbox to be disabled
with a value of "defaultValue". When checkbox checked, I would expect for
the textbox to be enabled allowing you to change its value and, thereby, the
value of the property |SOME_PROPERTY|.
Does this answer your question?
David
<Property Id="SOME_PROPERTY" Value="defaultValue" />
<Control Id="ChkBx" Type="CheckBox" X="18" Y="78" Width="330" Height="18"
CheckBoxValue="1" Property="CHKBOX_PROPERTY" Text="MyCheckbox"
/>
<Control Id="TxtBx" Type="Edit" X="125" Y="98" Height="17" Width="100"
Sunken="no"
Disabled="no" Text="[SOME_PROPERTY]" Default="yes"
Property="SOME_PROPERTY">
<Condition Action="disable"><![CDATA[CHKBOX_PROPERTY <> "1"]]></Condition>
</Control>
David Adams
MSN MessengerID: [EMAIL PROTECTED]
>From: "Douglas Watts" <[EMAIL PROTECTED]>
>To: <[email protected]>
>Subject: Re: [WiX-users] Binding of Properties to Dialog Controls
>Date: Fri, 22 Sep 2006 08:31:35 -0400
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
>bay0-mc11-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri,
>22 Sep 2006 05:31:41 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid CF2821200B; Fri, 22 Sep
>2006 05:31:39 -0700 (PDT)
>Received: from sc8-sf-mx1-b.sourceforge.net
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
>with esmtp (Exim 4.43)id 1GQkBu-0005nA-U4for
>[email protected]; Fri, 22 Sep 2006 05:31:39 -0700
>Received: from uslec-66-255-189-125.cust.uslec.net
>([66.255.189.125]helo=EXCHANGE-01.advectis.office)by mail.sourceforge.net
>with esmtp (Exim 4.44) id 1GQkBt-0003IN-EMfor
>[email protected]; Fri, 22 Sep 2006 05:31:38 -0700
>X-Message-Info: LsUYwwHHNt0xsv/ZQrjhZrIxgd/LSyAwYApdSEshqT8=
>X-MimeOLE: Produced By Microsoft Exchange V6.5
>Content-class: urn:content-classes:message
>X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [WiX-users] Binding of
>Properties to Dialog Controls
>Thread-Index: AcbdwQkq2GsWcyJwScO8+vC+yYSnzQAgdDZQ
>X-Spam-Score: 1.0 (+)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See
>http://spamassassin.org/tag/ for more details.Report problems
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000011.0
>FORGED_RCVD_HELO Received: contains a forged HELO0.0 HTML_MESSAGE
> BODY: HTML included in message
>X-BeenThere: [email protected]
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML
>toolset."<wix-users.lists.sourceforge.net>
>List-Unsubscribe:
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL
>PROTECTED]>
>List-Archive:
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:[email protected]>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe:
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 22 Sep 2006 12:31:41.0122 (UTC)
>FILETIME=[0E545220:01C6DE43]
>
>Bueller? <pause/> Bueller? <pause/> Bueller?
>
>
>
>__________________________________
>
>Doug Watts
>
>
>
>________________________________
>
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
>Watts
>Sent: Thursday, September 21, 2006 5:01 PM
>To: [email protected]
>Subject: [WiX-users] Binding of Properties to Dialog Controls
>
>
>
>I'm still trying to grasp the binding between properties and dialog
>controls. I have looked at the SampleWixUIAddDlg sample and it looks as
>though the example does not actually capture the user registration data.
>Going with that sample, if I had declared properties for user name,
>organization and CD key, then how would I bind these properties to
>retrieve the user entered data?
>
>
>
>___________
>
>Doug Watts
>
>-------------------------------------------------------------------------
>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
>[email protected]
>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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users