Commit Graph

177 Commits

Author SHA1 Message Date
Sergey Larin
b85417a330 The TCommonDialog.Title property is flagged as nodefault.
Without this change, Title property equal to '' is not saved to .lfm file.
2022-02-20 13:40:35 +03:00
wp_xyz
285ed6ea0d LCL/TColorButton: Add missing Notification method to prevent crash when assigned ColorDialog is deleted. 2021-12-16 00:37:28 +01:00
Ondrej Pokorny
fdd5721318 LCL: fix case of Integer/Boolean/string types 2021-12-13 10:23:37 +01:00
wp_xyz
5438db7700 LCL: Give access to dialog icon idDialogShield 2021-11-19 23:34:09 +01:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
dmitry
8bcb4c3d6f lcl: moving RegisterPropertyToSkip from unit initialization to WSRegisterClass methods
git-svn-id: trunk@62581 -
2020-01-23 15:28:39 +00:00
jesus
f8e9e6474b Printers: Support for Cocoa printing, updated examples.
git-svn-id: trunk@59492 -
2018-11-08 21:54:32 +00:00
bart
ca05451b8c TCommondialog: do not publish Widht/Height properties. Issue #0033480. Patch by AlexeyT.
git-svn-id: trunk@59032 -
2018-09-16 13:06:31 +00:00
juha
41dc46374f LazUtils: Move string manipulation functions from LazUtilities to LazStringUtils.
git-svn-id: trunk@58634 -
2018-07-25 23:44:54 +00:00
juha
ce916d287c LazUtils: Rename unit ModalResultDef to a Delphi compatible UITypes. Add Message dialog related stuff.
git-svn-id: trunk@58227 -
2018-06-11 10:51:11 +00:00
juha
5f57884ed1 LCL,LazUtils: Move ModalResult and the mr... consts to a new unit in LazUtils. They are used in non-GUI programs, too.
git-svn-id: trunk@58205 -
2018-06-09 14:39:49 +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
mattias
d94945ef38 lcl: TOpenDialog: deprecated DereferenceLinks, added ResolveLinks, added ofNoResolveLinks, docs, ofNoDereferenceLinks now behaves Delphi compatible
git-svn-id: trunk@56289 -
2017-11-05 23:51:00 +00:00
ondrej
dc573dbaa0 dialogs: TTaskDialog: rename OnButtonClicked params. Issue #31404
git-svn-id: trunk@54169 -
2017-02-16 17:22:45 +00:00
ondrej
9d6acea295 dialogs: TTaskDialog: change string properties to TTranslateString. Issue #31390
git-svn-id: trunk@54162 -
2017-02-15 11:12:22 +00:00
ondrej
445c92af0c dialogs: TTaskDialog: change TTaskDialogIcon from integer to enumeration.
Reason: LCLTaskDialog doesn't support icons beyond this range and it's better to have a combobox in the OI.
Issue #31389

git-svn-id: trunk@54157 -
2017-02-15 08:46:29 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
juha
a8646f33f5 LCL: Remove a useless test in function DefaultMessageBox.
git-svn-id: trunk@53635 -
2016-12-11 15:18:31 +00:00
ondrej
b934d7aa02 lcl: lcltaskdialog: fix execution parameters
git-svn-id: trunk@53015 -
2016-09-22 07:00:38 +00:00
ondrej
a35cab7fa4 LCL: register TTaskDialog
git-svn-id: trunk@53009 -
2016-09-22 02:51:31 +00:00
ondrej
924a4b4033 LCL: dialogs: add TTaskDialog
git-svn-id: trunk@53008 -
2016-09-22 02:34:30 +00:00
mattias
da0f71ea43 lcl: dialogs: added InputCombo, from Michael Van Canneyt
git-svn-id: trunk@52973 -
2016-09-15 07:04:01 +00:00
bart
4213e0848c Dialogs:
- implement a mechanisme to query the widgetset how and when to handle DoShow, DoCanClose and DoClose.
- implement QueryWSEventCapabilities for Win32 widgetset

git-svn-id: trunk@52850 -
2016-08-21 11:45:58 +00:00
bart
57c09522ef FindDialog: fix wrong Sender in OnShow event. Part of Issue #0030449.
git-svn-id: trunk@52816 -
2016-08-17 11:56:10 +00:00
bart
cc041a51b2 Dialogs: fix several issues with OnShow/OnCanClose/OnClose events.
- fixes showing OnShow twice
- fixes not firing TSelectDirectoryDialog.OnClose on WinXP
- fixes wrong Sender in TFindDialog.OnShow
- fixes firing TFontDialog.OnShow after fom closes (Windows)
- fixes not firing OnShow and OnClose of TCalculatorDialog
- fixes wrong Sender in TCalendarDialog.OnShow and OnCanClose
- call DoXXX instead of OnXXX wherever possible
- more conditioal debug output
Resolves issue #0023065.
Partly resolves issue #0021163.

git-svn-id: trunk@52801 -
2016-08-13 18:05:25 +00:00
bart
8a444a31ef Dialogs: don't call TOpenDialog.OnCanClose if ofOldStyleDialog in Options (Delphi compatibility). Part of Issue #0021147.
git-svn-id: trunk@52788 -
2016-08-07 23:21:07 +00:00
bart
6e5cf2da5a Dialogs:
1. Only call TFileDialog.OnCanClose if user did not cancel the dialog.
2. Fix dialog and application behaviour of setting CanClose to False in TFileDialog.OnCanClose.
Mostly resolves issue #0021147.

git-svn-id: trunk@52787 -
2016-08-07 18:39:35 +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
ondrej
f7158c1393 lcl: disable windows on system dialog execute
win32: fix parent window handle for system dialogs
Issue #28631

git-svn-id: trunk@51798 -
2016-03-02 05:45:52 +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
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
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
juha
cf63e6850c LCL: Adjust edit widths in InputQuery. Issue #28176, patch from Alexey Torgashin.
git-svn-id: trunk@49173 -
2015-05-25 22:30:55 +00:00
juha
82f35aa13d LCL: InputQuery with "array of string" parameters. Issue #28162, patch from Alexey Torgashin.
git-svn-id: trunk@49157 -
2015-05-24 20:53:29 +00:00
juha
c0d6689f3c LCL: Improve TFindDialog. Issue #28091, patch from Marc Baillifard.
git-svn-id: trunk@49025 -
2015-05-14 22:29:16 +00:00
bart
77ddd148d7 Dialogs: Add another overloaded version of MessageDlg (Delphi compatibility). Issue #0027964.
git-svn-id: trunk@48870 -
2015-04-26 17:56:58 +00:00
mattias
f69dd2379e IDE: clean up
git-svn-id: trunk@48198 -
2015-03-10 12:02:19 +00:00
bart
fbf0df95ec Dialogs, ExtDlgs:
- return correct Height/Width for TFindDialog, TCalendarDialog, TCalculatorDialog
- implement Top/Left for TExtCommonDialog

git-svn-id: trunk@47028 -
2014-11-29 16:19:38 +00:00
giuliano
7f75c3a2e3 New version of Find and Replace Dialogues. Forms created in code without
loading a .lfm from stream. Added an frButtonsAtBottom Option.
Removed dependency from /lcl/forms/finddlgunit.* and /lcl/forms/replacedlgunit.*

git-svn-id: trunk@46783 -
2014-11-07 22:43:27 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
mattias
6f709510c7 lcl: use GetPhysicalFilename instead of readalllinks
git-svn-id: trunk@45244 -
2014-05-30 12:40:47 +00:00
paul
449c561861 lcl: move dialog icons from Lazarus to FPC resources
git-svn-id: trunk@42962 -
2013-09-27 03:38:18 +00:00
mattias
61c1298df5 LCL: dialogs: allow defining own messagedlg overloads
git-svn-id: trunk@42222 -
2013-07-28 21:48:45 +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
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
mattias
2edf8a1512 LCL: MessageDlg: changed result type to TModalResult for nicer code completion
git-svn-id: trunk@38623 -
2012-09-12 14:03:18 +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
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
mattias
63bed888d2 LCL: clean up
git-svn-id: trunk@35505 -
2012-02-20 10:23:34 +00:00
mattias
bbe475b828 LCL: TFilenameEdit: check if Filename exists, use InitialDir
git-svn-id: trunk@35450 -
2012-02-18 15:52:39 +00:00