This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Edit control event
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2010
10:09 AM
Edit control event
Hi
This is a question for for a basic MSI project.
I have a dialog with an edit control on it. I set a property to the value of the dit control let say propery "TOTO" . I want to disable the NEXT button when the text is empty and enable it when the text is not empty.
I went to the behavior section of the dialog, click on my control name, then went to Conditions tab and added the actions Disable if TOTO="" and Enable if TOTO<>""
When I tested my project, I noticed that it only works when the edit control loose the focus, like it updates the property once you're out of the control. I want the Next button to update its disable/enable state on each caracter I type in the edit control.
Is it possible? How do I subscribe to a "OnTextChanged" of the edit control?
This is a question for for a basic MSI project.
I have a dialog with an edit control on it. I set a property to the value of the dit control let say propery "TOTO" . I want to disable the NEXT button when the text is empty and enable it when the text is not empty.
I went to the behavior section of the dialog, click on my control name, then went to Conditions tab and added the actions Disable if TOTO="" and Enable if TOTO<>""
When I tested my project, I noticed that it only works when the edit control loose the focus, like it updates the property once you're out of the control. I want the Next button to update its disable/enable state on each caracter I type in the edit control.
Is it possible? How do I subscribe to a "OnTextChanged" of the edit control?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 24, 2010
12:02 PM
did you ever find the fix? I have the same issue. Thanx.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 24, 2010
01:16 PM
Alas, Windows Installer appears not to support that; please see, for example, KB article Q108570, "INFO: Limitations Of The Basic MSI User Interface".
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)