juha
98045780a1
LCL: Use TMaskList always for ShellListView.Mask. Enable all TMask syntax including sets.
...
git-svn-id: trunk@64660 -
2021-02-24 20:04:15 +00: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
juha
317b7088a4
LCL: Fix ofAutoPreview of TOpenPictureDialog. Issue #37820 , patch from Anton Kavalenka.
...
git-svn-id: trunk@63926 -
2020-09-27 14:48:12 +00:00
dmitry
deb2cde704
lcl: fix the calendar dialog layout for macOS, due to the specifics of button sizing and drawing as well as calendar widget sizes. Patch by Alexey Tor. #35336
...
git-svn-id: trunk@61353 -
2019-06-10 20:09:34 +00:00
bart
b272a2aa9f
ExtDlgs: implement TCalculatorDialog.OnCanClose. Part of Issue #0030449 .
...
git-svn-id: trunk@52861 -
2016-08-22 10:36:50 +00:00
bart
31a5dce8e4
ExtDlgs: set UserChoice in TCalendarDialog.OnDialogCloseQuery.
...
git-svn-id: trunk@52807 -
2016-08-14 16:56:52 +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
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
bart
3d71055636
LCL: Try not to close CalendarDialogs if CurrentView <> cvMonth. Partly resolves Issue #0029646 .
...
git-svn-id: trunk@51695 -
2016-02-25 10:01:05 +00:00
mattias
89190707c1
LCL: exploded some With-blocks for fpc 3.1.1
...
git-svn-id: trunk@50237 -
2015-11-06 18:35:28 +00:00
juha
e7f6ab18d2
LCL: Formatting
...
git-svn-id: trunk@49691 -
2015-08-19 12:16:33 +00:00
juha
80a540632b
LCL: Separate TCalculatorForm from ExtDlgs to its own unit. Issue #28516 , modified patch from Alexey Torgashin.
...
git-svn-id: trunk@49687 -
2015-08-19 11:18:45 +00:00
mattias
be9ce3be19
lcl: less warnings
...
git-svn-id: trunk@49659 -
2015-08-13 06:07:53 +00:00
juha
0e783282e9
LCL: Make Calculator "simple" layout work. Issue #28413 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49655 -
2015-08-12 10:19:34 +00:00
juha
06ac76f560
LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
...
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +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
bart
13d20a3399
TCalendarDlg: reduce visibility of Top/Left properties (not needed @designtime and it has unwanted effects in the designer).
...
git-svn-id: trunk@46995 -
2014-11-26 19:43:20 +00:00
bart
c57b1c69bc
TCalendarDialog: anchor the buttons instead of aligning (looks a bit nicer IMHO).
...
git-svn-id: trunk@46839 -
2014-11-13 17:39:08 +00:00
bart
6e411be053
TCalendarDialog: implement Left and Top properties.
...
git-svn-id: trunk@46801 -
2014-11-12 15:11:37 +00:00
bart
2ece5f8498
TCalendarDialog: implement OnChange event.
...
git-svn-id: trunk@46792 -
2014-11-09 18:41:00 +00:00
bart
311f06d24a
TCalendarDialog: update TCalendarDialog.Date before calling OnXXXChanged events. Issue #0026852 .
...
git-svn-id: trunk@46791 -
2014-11-09 18:36:58 +00:00
bart
002710fa19
TCalendarDialog: implement OnShow, OnClose and OnCanClose events.
...
git-svn-id: trunk@46790 -
2014-11-09 16:02:17 +00:00
bart
a10a83428d
TCalendarDialog: make it possible to navigate calendar by keyboard.
...
git-svn-id: trunk@46789 -
2014-11-09 15:20:05 +00:00
mattias
76b41ca24f
LCL: clean up
...
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
paul
84a7c42b2f
lcl: move calculator images from Lazarus to FPC resources
...
git-svn-id: trunk@42965 -
2013-09-27 05:40:11 +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
juha
48f88c37ef
Revert "Use AllFilesMask everywhere instead of GetAllFilesMask, mask must be fixed in FPC libs"
...
git-svn-id: trunk@40957 -
2013-04-30 16:35:02 +00:00
juha
73fb9ab0e2
Use AllFilesMask everywhere instead of GetAllFilesMask
...
git-svn-id: trunk@40849 -
2013-04-19 07:08:03 +00:00
juha
a2ad729243
LCL: Set position of Calendar- and CalculatorDialog to poScreenCenter at design time. Issue #22171
...
git-svn-id: trunk@37479 -
2012-06-02 11:32:12 +00:00
juha
46dd2e5203
LCL: Prevent "Test Dialog" feature of Calculator and Calendar dialogs locking the IDE, issue #21644
...
git-svn-id: trunk@36661 -
2012-04-08 17:14:56 +00:00
juha
bd7ff78718
LCL: Refactoring. Make TCalculatorDialog.Execute more understandable by removing a "with" block.
...
git-svn-id: trunk@36659 -
2012-04-08 07:57:02 +00:00
maxim
3677e97597
LCL: fix some inconsistencies in translating dialog titles (patch from cobines, bug #19869 ):
...
a) TSavePictureDialog
- override DefaultTitle
- do not set Title in Create (already done in inherited constructor)
- set fCompStyle:=csSaveFileDialog (as in TSaveDialog)
b) TCalculatorDialog
- don't use your own Title, but use inherited Title property
- override DefaultTitle
c) TCalendarDialog
- don't use your own DialogTitle, but use inherited Title property
- remove DialogTitle property
- override DefaultTitle
git-svn-id: trunk@31848 -
2011-08-02 20:25:45 +00:00
paul
57daf59d6e
lcl: use DefaultFormatSettings to prevent deprecated message generation
...
git-svn-id: trunk@28588 -
2010-12-02 07:21:19 +00:00
paul
6380ade6ac
lcl, win32: handle clDefault font color in controls
...
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
07c85a5453
lcl: fix CreateParams for TPreviewFileControl
...
git-svn-id: trunk@25228 -
2010-05-07 00:44:13 +00:00
paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
2d12587b11
lcl: TPreviewFileControl should not remove WS_CHILD in CreateParams since it is a child control
...
git-svn-id: trunk@25198 -
2010-05-05 00:33:54 +00:00
mattias
4135aa5ec6
LCL: TCalendarDialog: enabled AutoSize, bug #16305
...
git-svn-id: trunk@24782 -
2010-04-21 07:38:19 +00:00
mattias
ad982bfee9
LCL: TCalculatorForm, TCustomDockForm, TSynBaseCompletionForm, ShowInputDialog: combine creation
...
git-svn-id: trunk@24422 -
2010-04-05 00:03:39 +00:00
paul
5dbecdbe8d
lcl: move few const arrays from the unit section to a methods where they are really used
...
git-svn-id: trunk@23640 -
2010-02-05 09:39:18 +00:00
paul
f8a1f56fb6
lcl: don't use initialization section with resources in extdlgs, include resources only if calculator panel is used.
...
git-svn-id: trunk@23638 -
2010-02-05 09:19:06 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
5a3f0457dd
lcl: don't close calendar dialog and calendar popup form on double click if user clicked on wrong parts of calendar (issue #0009722 )
...
git-svn-id: trunk@19126 -
2009-03-27 03:25:20 +00:00
paul
802244bbfa
lcl: cleanup TCalendarDialog
...
git-svn-id: trunk@19088 -
2009-03-24 10:11:29 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
d7d65211b7
lcl: cleanup
...
git-svn-id: trunk@18512 -
2009-01-31 10:37:31 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
vincents
2d5ba04966
LCL: don't add scrollbars to calendar dialog
...
git-svn-id: trunk@16825 -
2008-10-01 10:22:04 +00:00