From f500ec01492fc63943716b101ecbda8576e5269b Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sat, 4 Jan 2003 13:59:36 +0000 Subject: [PATCH] new flags git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2030 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/InstallOptions/Changelog.txt | 3 ++- Contrib/InstallOptions/Readme.html | 21 ++++++++++++++------- Contrib/InstallOptions/test.ini | 4 ++++ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Contrib/InstallOptions/Changelog.txt b/Contrib/InstallOptions/Changelog.txt index a8ec79f0..81869375 100644 --- a/Contrib/InstallOptions/Changelog.txt +++ b/Contrib/InstallOptions/Changelog.txt @@ -1,8 +1,9 @@ -DLL version 2.0 (12/14/2002) +DLL version 2.0 (1/4/2003) * Supports custom font and DPI settings (by Joost Verburg) * INI files should contain dialog units now, no pixels (by Joost Verburg) * RESIZETOFIT flag for Bitmap control (by Amir Szekely) * New documentation (by Joost Verburg) +* New GROUP/NOTABSTOP/DISABLED flags DLL version 1.7 beta (11/2/2002) * Added initDialog and show DLL functions diff --git a/Contrib/InstallOptions/Readme.html b/Contrib/InstallOptions/Readme.html index 801ce687..d61fb58f 100644 --- a/Contrib/InstallOptions/Readme.html +++ b/Contrib/InstallOptions/Readme.html @@ -218,8 +218,7 @@ numbers from 1 to NumFields. Each Field section can contain the following values items in the list.
A "listbox" shows multiple items and can optionally allow the user to select more than one item.
A "CheckBox" control displays a check box with label.
- A "RadioButton" control displays a radio button with label. - Always add a GROUP flag the first control in a group of radio buttons!
+ A "RadioButton" control displays a radio button with label.
A "FileRequest" control displays a textbox and a browse button. Clicking the browse button will display a file requester where the user can browse for a file.
A @@ -388,11 +387,18 @@ numbers from 1 to NumFields. Each Field section can contain the following values Also useful to support custom DPI settings. GROUP - Always add this flag to the first control in a group - of "RadioButton" controls. + Add this flag to the first control of a group + of controls to group them. Grouping controls allows you to create multiple + groups of radio button and makes keyboard navigation using arrow keys + easier. - DISABLED - Causes a control to be disabled. + NOTABSTOP + Do not stop on the control when the user pressed + the Tab key. Add NOTABSTOP to all controls of a group except the first + one to allow navigation between groups with the Tab key. + + DISABLED + Causes a control to be disabled.

How to use

Modern UI

@@ -503,12 +509,13 @@ FunctionEnd

Version history

diff --git a/Contrib/InstallOptions/test.ini b/Contrib/InstallOptions/test.ini index 6971eeb4..b2c8b320 100644 --- a/Contrib/InstallOptions/test.ini +++ b/Contrib/InstallOptions/test.ini @@ -17,6 +17,7 @@ Right=-10 Top=17 Bottom=25 State=0 +Flags=GROUP [Field 3] Type=checkbox @@ -26,6 +27,7 @@ Right=-10 Top=30 Bottom=38 State=1 +Flags=NOTABSTOP [Field 4] Type=checkbox @@ -35,6 +37,7 @@ Right=-10 Top=43 Bottom=51 State=0 +Flags=NOTABSTOP [Field 5] Type=FileRequest @@ -45,6 +48,7 @@ Top=56 Bottom=68 Filter=Poop Files|*.poop|All files|*.* Flags=FILE_MUST_EXIST|OFN_EXPLORER|OFN_HIDEREADONLY +Flags=GROUP [Field 6] Type=DirRequest