Commit Graph

104 Commits

Author SHA1 Message Date
mattias
1f64e2b29d lazutils: deprecated ConvertLineEndings in favor of LineBreaksToSystemLineBreaks
git-svn-id: trunk@59144 -
2018-09-23 10:33:52 +00:00
bart
9801fd24ee Dialogs: overload CreateMessageDlg function with parameter to set dialog caption.
git-svn-id: trunk@57360 -
2018-02-24 16:01:21 +00:00
ondrej
382b5e3ee7 LCL: TPromptDialog: support ChangeScale
git-svn-id: trunk@55533 -
2017-07-18 19:05:01 +00:00
ondrej
090c69df0e LCL: TPromptDialog: high-DPI
git-svn-id: trunk@55531 -
2017-07-18 18:07:39 +00:00
ondrej
f6175a256f LCL: dialogs: create a generic solution for dialog copy to clipboard.
git-svn-id: trunk@52308 -
2016-05-15 09:33:19 +00:00
mattias
b5072add0b lcl: questiondlg: fixed using default button caption
git-svn-id: trunk@50939 -
2015-12-19 15:28:25 +00:00
mattias
dd8325c960 lcl: questiondlg: fixed button with both IsDefault and IsCancel
git-svn-id: trunk@50937 -
2015-12-19 15:20:23 +00:00
ondrej
873b3e4baa LCL: DefaultQuestionDialog fixes: memo width, background color, border and dialog height
git-svn-id: trunk@50811 -
2015-12-15 05:57:55 +00:00
mattias
4b08219b78 LCL: QuestionDlg: default dialog: add scrollbar width to avoid breaking lines
git-svn-id: trunk@50802 -
2015-12-14 17:20:43 +00:00
mattias
627278054a LCL: QuestionDlg: default dialog with memo: make sizable
git-svn-id: trunk@50800 -
2015-12-14 17:13:32 +00:00
ondrej
15c9d32769 LCL: QuestionDlg allow 'isdefault' and 'iscancel' parameters without captions
git-svn-id: trunk@50790 -
2015-12-14 11:03:11 +00:00
ondrej
67583752cc LCL: DefaultQuestionDialog: focus default button on show
git-svn-id: trunk@50778 -
2015-12-13 19:54:12 +00:00
ondrej
87167c33a1 LCL: QuestionDlg: added iscancel parameter
git-svn-id: trunk@50777 -
2015-12-13 19:52:23 +00:00
ondrej
e676f7e74d LCL: simplify DefaultQuestionDialog close on ESC
git-svn-id: trunk@50776 -
2015-12-13 19:33:42 +00:00
ondrej
eb91f5383f LCL: when DefaultQuestionDialog is closed with ESC key or system close button, return ModalResult from cancel button (compatibility with WinAPI)
git-svn-id: trunk@50775 -
2015-12-13 18:38:25 +00:00
ondrej
8fd069e64f LCL: close DefaultQuestionDialog with ESC key
git-svn-id: trunk@50774 -
2015-12-13 18:01:21 +00:00
mattias
1466e6184a lcl: fixed crash in QuestionDlg
git-svn-id: trunk@50665 -
2015-12-05 21:54:39 +00:00
mattias
9d45083605 lcl: fixed crash in default QuestionDlg
git-svn-id: trunk@50661 -
2015-12-05 21:51:10 +00:00
mattias
5110578aec LCL: expose widgetset independent dialog: DefaultPromptDialog, DefaultQuestionDialog, DefaultMessageBox and DefaultInputDialog
git-svn-id: trunk@50572 -
2015-12-02 14:58:41 +00:00
mattias
a7722c160f LCL: default QuestionDlg: use TMemo when text too big
git-svn-id: trunk@50570 -
2015-12-02 14:20:47 +00:00
ondrej
b264b1d936 LCL: QuestionDlg: return mrCancel when dialog is closed by Esc or dialog close button. Issue #26019
git-svn-id: trunk@50369 -
2015-11-17 15:28:24 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
mattias
aad031fb47 LCL: messagedlg, questiondlg, showmessage: convert line endings within LCLBase, not in the widgetsets
git-svn-id: trunk@45577 -
2014-06-19 10:49:08 +00:00
bart
258a876b50 QuestionDlg: fix wrong ModalResult if dialog has buttons with both mrCancel and mrAbort as ModalResult (issue #0026094).
git-svn-id: trunk@44852 -
2014-04-30 12:56:23 +00:00
bart
26611f46f0 Dialogs: Do not show an icon in MessageDlg is DialogType = mtCustom.
Reason: Delphi compatibility. Resolves issue #0025475.

git-svn-id: trunk@43621 -
2013-12-31 14:47:40 +00:00
bart
2b0d38d8b6 TPromptDialog: handle Ctrl+C (copy MSG to clipboard).
Issue #0016295.

git-svn-id: trunk@42005 -
2013-07-06 12:57:26 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
fe2701f866 lcl gtk2: using translated button captions if resourcestrings translated, bug #22623
git-svn-id: trunk@38243 -
2012-08-14 21:37:27 +00:00
juha
3ed97298dc LCL: Fix ShowMessage cutting the last word after char "&", issue #21913, patch from samuel herzog
git-svn-id: trunk@37256 -
2012-05-12 13:04:57 +00:00
juha
6999fe91fc LCL: Fix mrCancel and mbClose behavior in a MessageDlg. Issue #21801, patch from Bart Broersma
git-svn-id: trunk@37065 -
2012-04-28 14:52:08 +00:00
juha
4c35fedfd1 LCL: fix cursor in modal dialog after loading error. Issue #21060, patch from Anton
git-svn-id: trunk@34700 -
2012-01-10 23:01:45 +00:00
paul
b8c286a25d lcl: reduce amount of warnings, fix use of UTF8Decode and use of UTF8String type
git-svn-id: trunk@33250 -
2011-11-03 06:58:10 +00:00
maxim
0b5089f732 LCL: respect MessageDlg DefaultButton parameter if mbOk is displayed, patch from Flávio Etrusco and Bart Broersma, bug #20154
git-svn-id: trunk@32191 -
2011-09-05 22:32:20 +00:00
juha
9ccda3b3ec LCL: Don't set ShowPrefix in confirmation dialogs. Affects eg. Search and Replace dialog. Issue #19928
git-svn-id: trunk@31959 -
2011-08-12 11:23:17 +00:00
maxim
2cd936e043 LCL, CreateMessageDialog: cleanup by Bart Broersma, bug #19821
git-svn-id: trunk@31819 -
2011-07-28 20:47:46 +00:00
maxim
51fed03303 LCL: unduplicate message dialog standard captions localization code (patch by Bart Broersma, bug #19757)
git-svn-id: trunk@31748 -
2011-07-19 20:13:18 +00:00
maxim
495de54e69 LCL: further fixed message dialog standard captions localization (another part of patch by Bart Broersma, bug #19757)
git-svn-id: trunk@31738 -
2011-07-18 19:46:36 +00:00
maxim
0faebc761a LCL: fixed message dialog standard captions localization, bug #19757
git-svn-id: trunk@31727 -
2011-07-17 18:04:39 +00:00
paul
5b2ff3e881 lcl: fix TPromptDialog, TQuestionDialog construction (issue #0018655)
git-svn-id: trunk@29283 -
2011-02-01 07:44:14 +00:00
vincents
f181c9db90 lcl: don't use DT_INTERNAL, the LCL already has selected a system font into the canvas; it prevents mismatches in sizes, if we cannot determine what exact font is used by DT_INTERNAL, fixes issue #16408
git-svn-id: trunk@28672 -
2010-12-10 20:16:16 +00:00
paul
ab02ee49aa lcl: redo QuestionDialog buttons usage, move buttons to outer class for use in widgetsets
win32: implement QuestionDialog for Vista+ systems

git-svn-id: trunk@28448 -
2010-11-24 10:12:28 +00:00
paul
d34e4eb1c0 lcl: add a possibility to override QuestionDlg in widgetset
git-svn-id: trunk@28445 -
2010-11-24 08:16:34 +00:00
paul
6ded956938 lcl:
- cleanup: remove TQuestionDlg.ButtonKeyDown, simplify PromptDialogKeyDown - LCL do this already perfect itself
  - formatting

git-svn-id: trunk@28443 -
2010-11-24 07:56:46 +00:00
paul
511b386b50 lcl: set PopupMode to pmAuto to fix problems with showing input/message/question dialogs to users from StayOnTop forms
win32: fix ShowModal of child forms which has WS_EX_TOPMOST parent

git-svn-id: trunk@28200 -
2010-11-13 09:12:04 +00:00
mattias
2bf7963f78 IDE: when opening a form with missing design time package: show option to install those packages
git-svn-id: trunk@28080 -
2010-11-05 00:19:24 +00:00
mattias
e8b131614c LCL: QuestionDlg: added option to set default button
git-svn-id: trunk@28079 -
2010-11-05 00:11:35 +00:00
mattias
77c9e6efff LCL: support any line endings in messages and question dialog
git-svn-id: trunk@26145 -
2010-06-16 08:06:10 +00:00
paul
2490ea320f lcl: formatting, cleanup
git-svn-id: trunk@23218 -
2009-12-22 02:18:31 +00:00
sekelsenmat
5b34b3a151 Improves prompt dialog layout for small devices
git-svn-id: trunk@21266 -
2009-08-17 17:35:50 +00:00
paul
0473402cf4 lcl: use Screen.SystemFont for various LCL dialogs
git-svn-id: trunk@20283 -
2009-05-28 14:03:35 +00:00