I have a custom dialog in my installation UI (Wix 3.5) which captures some 
information using Edit Textbox like this:
 
<Dialog Id="DatabaseNameDlg" Width="370" Height="270" Title="[ProductName] 
Setup" NoMinimize="yes">
        
        <Control Id="Description1" Type="Text" Width="213" Height="17" X="19" 
Y="36" Transparent="yes" NoPrefix="yes"  Text="[TextBlock_Oracle]" />
        <Control Id="OracelDBTxt" Type="Edit" Width="314" Height="15" X="26" 
Y="56" Property="ORACLEDATABASENAME" />
 
        <Control Type="PushButton" Id="Next" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="[ButtonText_Next]">
          <Publish Event="EndDialog" Value="Return">1</Publish>
          <Condition Action="enable">
            <![CDATA[ORACLEDATABASENAME <> ""]]>
          </Condition>
          <Condition Action="disable">
            ORACLEDATABASENAME = ""
          </Condition>
        </Control>
</Dialog> 
Basically I want to force the user to enter a value before they can continue 
(hence the condition on the Next Button). Currently, the ORACLEDATABASENAME 
property is only undated when the user leaves the Edit control. I want the 
property to be updated as soon as they type the first character (hence the Next 
button will become active after a single keystroke). Is there an easy way to 
achieve this?
 
Thanks in advance
sanjay
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to