diff options
author | Jean-Marc <jmarc.levecque@dbmail.com> | 2014-07-17 06:14:10 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-07-17 06:14:23 +0100 |
commit | 42ad4a1ac8b68cef017f984aa746bf0f68f696f0 (patch) | |
tree | 670e9b2e35b406790fbed420a2f202f25f46abe0 /src/gui/fpg_dialogs.pas | |
parent | a872f4ef99ec514dea6dbcc3cc895193c30c6364 (diff) | |
download | fpGUI-42ad4a1ac8b68cef017f984aa746bf0f68f696f0.tar.xz |
Additional integerinputquerydialog
Hi,
For my own use, I had to create a new specific integer dialog similar to the
existing inputquerydialog.
Attached is the patch for it.
Hope it will be usefull
Regards
Jean-Marc
New integerinputquery dialog
Signed-off-by: Jean-Marc <jmarc.levecque@dbmail.com>
Diffstat (limited to 'src/gui/fpg_dialogs.pas')
-rw-r--r-- | src/gui/fpg_dialogs.pas | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/fpg_dialogs.pas b/src/gui/fpg_dialogs.pas index 8f3639e6..d1271bf9 100644 --- a/src/gui/fpg_dialogs.pas +++ b/src/gui/fpg_dialogs.pas @@ -1,7 +1,7 @@ { fpGUI - Free Pascal GUI Toolkit - Copyright (C) 2006 - 2012 See the file AUTHORS.txt, included in this + Copyright (C) 2006 - 2014 See the file AUTHORS.txt, included in this distribution, for details of the copyright. See the file COPYING.modifiedLGPL, included in this distribution, @@ -227,6 +227,7 @@ type {$I charmapdialog.inc} {$I colordialog.inc} {$I inputquerydialog.inc} +{$I inputintegerdialog.inc} {$I managebookmarksdialog.inc} @@ -240,6 +241,7 @@ function SelectDirDialog(const AStartDir: TfpgString = ''): TfpgString; function fpgShowCharMap: TfpgString; function fpgSelectColorDialog(APresetColor: TfpgColor = clBlack): TfpgColor; function fpgInputQuery(const ACaption, APrompt: TfpgString; var Value: TfpgString): Boolean; +function fpgIntegerQuery(const ACaption, APrompt: TfpgString; var Value: Integer; MaxValue: Integer; MinValue: Integer): Boolean; implementation @@ -1632,6 +1634,7 @@ end; {$I charmapdialog.inc} {$I colordialog.inc} {$I inputquerydialog.inc} +{$I inputintegerdialog.inc} {$I managebookmarksdialog.inc} |