- Added new control type "Button"

- Added new flag "NOTIFY"
- Added new flag "NOWORDWRAP" for multi-line text boxes
- Reduced size down to 12K


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3254 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
eccles 2003-12-04 22:12:25 +00:00
parent c0e8dc4f73
commit 6b73b0e490
7 changed files with 686 additions and 462 deletions

View file

@ -0,0 +1,83 @@
[Settings]
NumFields=9
[Field 1]
Type=Groupbox
Text="This is a group box..."
Left=0
Right=-1
Top=0
Bottom=-4
[Field 2]
Type=Checkbox
Text=Install support for X
Flags=NOTIFY
State=1
Left=10
Right=100
Top=17
Bottom=25
[Field 3]
Type=Checkbox
Text=Install support for Y
State=0
Left=10
Right=100
Top=30
Bottom=38
[Field 4]
Type=Checkbox
Text=Install support for Z
State=0
Left=10
Right=100
Top=43
Bottom=51
[Field 5]
Type=FileRequest
Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY
State=C:\poop.poop
Filter=Poop Files|*.poop|All files|*.*
Left=10
Right=-10
Top=56
Bottom=69
[Field 6]
Type=DirRequest
Text=Select a directory...
State=C:\Program Files\NSIS
Left=10
Right=-10
Top=74
Bottom=87
[Field 7]
Type=Label
Text=This is a label...
Left=10
Right=-10
Top=89
Bottom=97
[Field 8]
Type=Text
Flags=MULTILINE|VSCROLL|WANTRETURN|NOWORDWRAP
State="Multiline\r\nedit..."
Left=10
Right=-10
Top=97
Bottom=118
[Field 9]
Type=Button
Flags=NOTIFY
Text=Clear
Left=-60
Right=-10
Top=27
Bottom=41