Old 20th February 2007, 19:18   #1
Raveren
Junior Member
 
Join Date: Feb 2007
Posts: 7
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
Raveren is offline   Reply With Quote
Old 20th February 2007, 20:13   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th February 2007, 20:48   #3
Raveren
Junior Member
 
Join Date: Feb 2007
Posts: 7
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?
Raveren is offline   Reply With Quote
Old 20th February 2007, 20:52   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
"Button", "Link", "CheckBox", "RadioButton", "ListBox" and "DropList" support the NOTIFY flag.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th February 2007, 20:59   #5
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
A small example at wiki that might be helpful,

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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 20th February 2007, 21:31   #6
Raveren
Junior Member
 
Join Date: Feb 2007
Posts: 7
I shall paraphrase a question.

Whether probably to transfer any component any flag that at that component has worked flag NOTIFY?
Raveren is offline   Reply With Quote
Old 20th February 2007, 21:43   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I'm sorry, I still don't understand your question. Maybe an example is possible?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th February 2007, 22:01   #8
Raveren
Junior Member
 
Join Date: Feb 2007
Posts: 7
For example me it is necessary to know, can text field to send the events when entering the text. If no, that question exhausted.
Raveren is offline   Reply With Quote
Old 20th February 2007, 22:07   #9
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th February 2007, 22:12   #10
Raveren
Junior Member
 
Join Date: Feb 2007
Posts: 7
Thanks for answers
Raveren is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump