Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 6th February 2004, 14:30   #1
YooperNC
Junior Member
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 17
Send a message via AIM to YooperNC
Smile Alphabetic & AutoTab

I have two questions for the forum members:

1) How can I force a text entry field to allow only Alphabetic characters (no numbers, special characters, etc)?

2) I have set my text entry fields to be 6 characters in length (max and min both equal 6). Now, when the user enters six characters, I want the cursor to automatically jump to the next field. Is this possible?

Thanks in advance!

Dave
YooperNC is offline   Reply With Quote
Old 6th February 2004, 15:42   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Use the NOTIFY flag feature to check the input and take actions.
Joost Verburg is offline   Reply With Quote
Old 6th February 2004, 17:49   #3
YooperNC
Junior Member
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 17
Send a message via AIM to YooperNC
Question

NOTIFY doesn't seem to do anything until you press a button. I need to know when the Text Entry field has reached its maximum length of 6 characters, and then I want to set focus to the next text input field.

Also, still looking for an ALPHA-only setting for the text entry fields as well.

Thanks!
YooperNC is offline   Reply With Quote
Old 6th February 2004, 17:58   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
NOTIFY indeed doesn't work for that purpose. So without changing the InstallOptions source code, waiting for the feature to be implmented or write a plug-in which will subclass the InstallOptions window; you can't do it.

As for alpha only, there is no flag for that so you'll have to verify on the leave function.

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 6th February 2004, 18:08   #5
YooperNC
Junior Member
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 17
Send a message via AIM to YooperNC
Thumbs up Thanks

Thanks for your reply. I suppose, then, that I would like these two requests to be considered for future enhancements of the product. In the mean time, I'll go at it from your suggested approaches.

Have a great weekend!

Dave
YooperNC is offline   Reply With Quote
Reply
Go Back   Winamp 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