Archive: Run-time change the condition Enable buttons Next


Run-time change the condition Enable buttons Next
Help to do so that at appearance of the text in text field, button Next moved over to condition EnableWindow $0 1, but under his absence EnableWindow $0 0

Sorry for bad English


You can't do that as the NOTIFY flag doesn't work for text fields. However, you can set MinLen to 1 and ValidateText to some message. Then, once the user hits the next button with an empty text field, the error message will pop-up.


Originally posted by kichik
You can't do that as the NOTIFY flag doesn't work for text fields. However, you can set MinLen to 1 and ValidateText to some message. Then, once the user hits the next button with an empty text field, the error message will pop-up.
Thank you, as You have offered, I have already done

Can try to send the flag other component, which has a NOTIFY flag?

"Button", "Link", "CheckBox", "RadioButton", "ListBox" and "DropList" support the NOTIFY flag.


A small example at wiki that might be helpful,

http://nsis.sourceforge.net/InstallO...of_NOTIFY_Flag


I shall paraphrase a question.

Whether probably to transfer any component any flag that at that component has worked flag NOTIFY?


I'm sorry, I still don't understand your question. Maybe an example is possible?


For example me it is necessary to know, can text field to send the events when entering the text. If no, that question exhausted.


In Windows it's possible using the EN_UPDATE notification message. InstallOptions, however, doesn't support it so it's not posssible with NSIS without modifying the source code.


Thanks for answers