Althought the only reply was that it is not possible. I am very curious if
you have somehow found a workaround for the problem of button not being
enabled 'onchange' of the edit-control but 'onlostfocus'

thanks


vljacobs wrote:
> 
> Kudos to WIX!  I’ve finally convinced my company to start utilizing WIX
> (instead of built in VS setups) and everyone has been more than happy so
> far.
> 
> I’m currently creating a custom database dialog.  I have conditions on the
> next button which check if the SQL Server edit box is empty or not.  It
> also is checks that the username and password edit boxes are not empty if
> the SQL authentication radio button is selected.
> 
> This works fine except that the condition on the next button only seems to
> be checked when the current control looses focus rather than immediately
> when text is entered.  
> 
> I’ve searched the forums and seen that other people have asked this and
> was told that windows installer properties were only updated when focus
> changes.
> 
> Is there a way to do this utilizing a custom action?
> 
> The custom action seems to execute after each character is entered, or
> when the control is gets or looses focus, but of course the condition on
> the next button still doesn’t seem to be checked until the focus is
> changed to the next control.  
> 
> Can I force the Next buttons conditions to be evaluated from a custom
> action?  Is there some kind of ‘magic’ to trick the dialog into thinking
> that focus has changed from a custom action?  Can I enable\disable the
> next button directly from within a custom action?
> 
> Is there another easier solution?  Am I just overlooking something simple?  
> 
> Thanks!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Access-a-button-control-from-a-custom-action--tp15365208p16607347.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to