Archive: Install Options Default Field


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


The next button is automatically focused. There is no way to change this behaviour in the INI file.


Oh right ok.

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

Thanx anyway


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

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 :
http://forums.winamp.com/showthread....ighlight=focus

Sorry and thanks
Dizzy

That's a very old version of Install Options.

It's better to make these changes and recompile:
http://sourceforge.net/tracker/index...49&atid=373085