The best way to get the least confusing behavior is to have the validity checks done when Next is clicked. If the validity checks fail, display a modal dialog box displaying the error message and don't transition to the next dialog box in the wizard sequence. Otherwise, transition to the next dialog in the wizard sequence.
This involves using logic that sets a validation property, i.e. 'valid', when Next is clicked. The modal dialog control event is conditioned with 'NOT valid' and the transition to the next dialog in the wizard sequence is conditioned with 'valid'. Make sure that the first event on your Next button always resets valid to false or true, as appropriate, otherwise the user can confuse the dialog by repeatedly clicking Next/Back and changing the data from valid to invalid or vice-versa. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users