I have a text box that requires the user to enter in some text (product key). This text is validated with a dll function after the user presses the next button. If invalid, I display a message box and loop back to this dialog. If valid, I go to the next dialog.
Would it be possible to dynamically (as the user changes the text in the edit box) enable/disable the next button so it is disabled until the correct text is entered?
Thanks in advance
Dynamically validating text in a text box
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Sorry, this is not currently available.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 8
- Joined: Wed Jul 18, 2007 7:10 am
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Of course you can send data back. Just associating a dialog control with a variable and writing to that variable from MSIcode, for example, is a way to set control default values. Just look at some of the pre-built dialogs and sample projects for examples.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: Google [Bot] and 90 guests