Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Run-time change the condition Enable buttons Next (http://forums.winamp.com/showthread.php?t=266235)

Raveren 20th February 2007 19:18

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

kichik 20th February 2007 20:13

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.

Raveren 20th February 2007 20:48

Quote:

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?

kichik 20th February 2007 20:52

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

Red Wine 20th February 2007 20:59

A small example at wiki that might be helpful,

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

Raveren 20th February 2007 21:31

I shall paraphrase a question.

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

kichik 20th February 2007 21:43

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

Raveren 20th February 2007 22:01

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

kichik 20th February 2007 22:07

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.

Raveren 20th February 2007 22:12

Thanks for answers


All times are GMT. The time now is 04:37.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.