Skip to content
⌘ NSIS Forum Archive

Can any one solve the problem in Serial dialog, i have?

5 posts

rnvagh#

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
pospec#
I did it with nsDialogs and WinMessages.
Red Wine#
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.
Red Wine#
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 😉