Hello everyone,
I have a custom dialog with 3 Controls of type "Edit". Each one linked to a property.. MYURL, MYUSERNAME, MYPASSWORD All 3 properties are defined as secure. Edit boxes defined as : <Control Id="THEURL" Type="Edit" X="125" Y="88" Width="210" Height="17" Property="DMDSUPDATEURL" /> <Control Id="THEUSER" Type="Edit" X="125" Y="108" Width="110" Height="17" Property="DMDSUPDATEUSER" /> <Control Id="THEPASSWORD" Type="Edit" X="125" Y="128" Width="110" Height="17" Property="DMDSUPDATEPASSWORD"/> I have the "Next" button defined as follows: <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next" Disabled="yes"> <Condition Action="enable" > <![CDATA[MYURL AND MYUSERNAME AND MYPASSWORD]]> </Condition> <Condition Action="disable"> <![CDATA[NOT MYURL OR NOT MYUSERNAME OR NOT MYPASSWORD]]> <Condition> </Control> So when the installer is running, on this particular dialog, the user interaction is.. [1]Enter value in first textbox, [2]press tab, [3]Enter value in second textbox, [4]press tab, [5]Enter value in third textbox. At this point (before pressing tab to leave the last textbox), the Next button is still disabled. Is there a way I can Enable the Next button as soon as the first character is entered into the third textbox? Instead of having to wait until there is at least 1 character in the 3rd textbox AND pressing tab to move the focus out of the 3rd textbox. I've looked at ControlEvents but I don't see anything that looks appropriate. I've looked here: http://msdn.microsoft.com/en-us/library/aa368342(VS.85).aspx and I see this statement at the end of the page: "The property associated with the Edit control is only set when the control loses focus. Therefore you must tab from the control or select a different control for the property to be updated." So I'm wondering if there's an indirect way to accomplish this? Thanks Phil ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users