Archive: changing focus on keypress


changing focus on keypress
Hello all,

Just starting to use NSIS and learning my way around. I've got
things working and this isn't a showstopper but it would be nice to have.

During the install I ask the user for an IP address.
When the page appears it places the focus in the first field of the form to fill in the IP address. There are four boxes separated by a visible dot, i.e. '.'

I would like to make the focus change to the next box when a '.' (a.k.a. period) is typed on the keyboard.


10. (-> next field)
0. (-> next field)
23. (-> next field)
117

Now the problem is that I have limited the input to digits only in those fields to make sure that only numbers are entered. (I use Flags=ONLY_NUMBERS in the .ini)

Lastly thanks to all the developers of NSIS, the installer looks great.

keybard


This is not currently possible with InstallOptions. Maybe InstallOptionsEx has this option./ip