Skip to content
⌘ NSIS Forum Archive

Install Options Default Field

6 posts

Sailo#

Install Options Default Field

I'm sure there used to be a DefaultField option that you could put in your ini file to state which field your prompt would start in or am i mistaken.

I just can't find it now and am puzzled as i have a single text field and label but can't get the text field to be my default field.

My ini looks like this

[Settings]
Title=Enter Terminal Description and Location
NumFields=2
CancelConfirm="Confirm Exit (Not Recommended)"
NextButtonText="Save"
DefaultField=1

[Field 1]
Type=text
left=10
right=260
top=20
bottom=50
MinLen=1
MaxLen=260
State=
ValidateText=Enter Terminal Description and Location

[Field 2]
Type=label
text=Terminal Description and Location
left=10
right=400
top=5
bottom=20
kichik#
The next button is automatically focused. There is no way to change this behaviour in the INI file.
Sailo#
Oh right ok.

Thats a shame then because it makes sense for the focus to be on your first required field really.

Thanx anyway
Dizzy007#
Originally posted by kichik
The next button is automatically focused. There is no way to change this behaviour in the INI file.
I've got the same problem. I want to set the focus to special field.
Is it possible to set the focus anywhere in NSIS ??

Thanks
Dizzy
Dizzy007#
Originally posted by Dizzy007


I've got the same problem. I want to set the focus to special field.
Is it possible to set the focus anywhere in NSIS ??

Thanks
Dizzy
Uuuppsss - i should search and read first !!!

A new installoptions.dll

This one beats my problem :
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


Sorry and thanks
Dizzy
Joost Verburg#
That's a very old version of Install Options.

It's better to make these changes and recompile: