Old 2nd January 2008, 04:28   #1
rnvagh
Junior Member
 
Join Date: Jan 2008
Posts: 1
Angry Can any one solve the problem in Serial dialog, i have?

I have created an installer which asks for serial number and i have used two ways to get serial number but both of them have different problems...

1) I have used the following

PassDialog:ialog Serial \
/HEADINGTEXT 'Please enter the serial code...' \
/CENTER \
/BOXDASH 15 70 5 '' \
/BOXDASH 95 70 5 '' \
/BOXDASH 175 70 5 '' \
/BOXDASH 255 70 5 '' \
/BOX 335 70 5 ''

it works fine but, problem is that i am not able to resize the groupbox and the reason to resize the groupbox is that the unrequired space does not look good as the our company client requirements.

2) I have used custom page but in that i am not able to automatically change the focus to the textboxes as they reach at their MaxLen.

I want that when i enter 5 digits/characters in first textbox then the cursor should be set into second textbox and so on...

Everythink works other than this...

Please help me,

Thanks,
rnvagh
rnvagh is offline   Reply With Quote
Old 16th January 2008, 12:02   #2
pospec
Senior Member
 
pospec's Avatar
 
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
I did it with nsDialogs and WinMessages.
Attached Files
File Type: nsi serial_dialog.nsi (2.3 KB, 243 views)
pospec is offline   Reply With Quote
Old 16th January 2008, 12:21   #3
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
2) I have used custom page but in that i am not able to automatically change the focus to the textboxes as they reach at their MaxLen.
You should be able to achieve this with lately added nsDialogs plugin.

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 16th January 2008, 12:23   #4
pospec
Senior Member
 
pospec's Avatar
 
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
Hey, Red Wine, you didn't look at my code
pospec is offline   Reply With Quote
Old 16th January 2008, 12:34   #5
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
Originally posted by pospec
Hey, Red Wine, you didn't look at my code
Indeed you're right, moreover, the keyboard is not my best bet

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
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