Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Updating Edit Field Property


1 reply to this topic

avni

avni
  • Members
  • 3 posts

Posted 10 July 2006 - 21:38

Hi,

I have a basic MSI installation. I'm using Wise for Windows 5.21.
Here is my problem. I have a custom dialog with three edit boxes. I want to disable the "next" button unless one of the edit boxes is not empty. How can I do this? It seems the property associated with the edit boxes (public property) is not updated until the focus goes out of the edit box. I want to be able to enable the "next" button as soon as text is added.

Thanks for your suggestions

Avni

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 July 2006 - 09:23

It's not possible. Instead you could display an error message if Next is clicked. If you really need to disable the Next button you must cocde an external UI handler which is not trivial (see "external ui" in MSI SDK)