Commit Graph

49 Commits

Author SHA1 Message Date
mattias
44053b1a5c lcl: tdatetimepicker: Checked=true by default, issue #33892
git-svn-id: trunk@58377 -
2018-06-22 14:46:17 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +00:00
ondrej
ff1d04d947 datetimepicker: draw check box instead of having a real control (fixes focus issues).
git-svn-id: trunk@58282 -
2018-06-15 18:53:44 +00:00
ondrej
c727f965e6 datetimepicker: update date also when handle is not yet allocated. issue #32106
git-svn-id: trunk@55435 -
2017-07-04 06:47:33 +00:00
zoran
b47c467010 DateTimePicker: Add RemoveHandlerOnChange, RemoveHandlerOnCheckBoxChange, override RemoveAllHandlersOfObjects
git-svn-id: trunk@55318 -
2017-06-11 16:02:45 +00:00
zoran
cf2b24196c DateTimePiker: Built-in UpDown control appears flat with dtpoFlatButton option
git-svn-id: trunk@55292 -
2017-06-09 16:38:33 +00:00
zoran
59c1e76968 Fix indentation
git-svn-id: trunk@55279 -
2017-06-09 13:17:17 +00:00
ondrej
7643e26863 components: datetimepicker: change boolean properties EnableWhenUnchecked, AutoCheck, FlatButton to entries in Options.
git-svn-id: trunk@55272 -
2017-06-09 07:04:45 +00:00
ondrej
19843adc12 components: datetimepicker: TextForNullDate type TCaption - for translations
git-svn-id: trunk@55271 -
2017-06-09 06:38:31 +00:00
zoran
18e8d9b915 DateTimePicker - add input checking in SendExternalKey and add SendExternalKeyCode method
git-svn-id: trunk@55268 -
2017-06-08 17:32:58 +00:00
zoran
ee969afadb DateTimePicker - improve smart calling change when Date/Time is set from code
git-svn-id: trunk@55266 -
2017-06-07 15:56:49 +00:00
zoran
ccc63716d3 DateTimePicker - corrected misleading comment
git-svn-id: trunk@55234 -
2017-06-05 12:50:11 +00:00
ondrej
7e3c4d39df DateTimeCtrls: TDateTimePicker: add Options property with dtpoDoChangeOnSetDateTime (not default). Issue #31679
git-svn-id: trunk@55133 -
2017-05-31 16:31:59 +00:00
zoran
c954ed4518 DateTimePicker - improved 54652
git-svn-id: trunk@54653 -
2017-04-20 13:08:55 +00:00
zoran
1ed8c064f8 DateTimePicker - don't call OnChange when undoing changes
git-svn-id: trunk@54652 -
2017-04-20 13:00:35 +00:00
zoran
71e9ef32c4 DateTimePicker - OnChange fires twice - bug #31679
git-svn-id: trunk@54651 -
2017-04-20 12:19:22 +00:00
juha
6774461478 DateTimePicker: Don't fire OnChange event when pressing ESC without changes. Issue #31679, patch from Gabor Boros.
git-svn-id: trunk@54645 -
2017-04-19 12:11:27 +00:00
ondrej
4b2b9d793f datetimectrls: datetimepicker: add OnChange and OnCheckBoxChange method handler lists.
git-svn-id: trunk@54497 -
2017-03-28 19:46:33 +00:00
ondrej
3764df3f2c datetimectrls: datetimepicker: use Self as Sender for OnCheckBoxChange.
Reason: do not expose check box to public methods.

git-svn-id: trunk@54496 -
2017-03-28 19:32:46 +00:00
ondrej
bf733a19c0 components: datetimepicker: always update date on CreateWnd. Issue #31571
git-svn-id: trunk@54495 -
2017-03-28 19:26:06 +00:00
zoran
9c4321293b DateTimePicker: Fixed bug - sometimes, when trying to set date to impossible value Date gets set to MinDate instead of nearest possible date
git-svn-id: trunk@54184 -
2017-02-17 13:01:13 +00:00
ondrej
e2b4f692bc datetimectrls: datetimepicker: explicitely center themed drop-down arrow - some WS require it. Issue #31383
git-svn-id: trunk@54147 -
2017-02-13 11:39:29 +00:00
ondrej
610efc232b datetimectrls: TDateTimePicker: add AutoCheck property
git-svn-id: trunk@53805 -
2016-12-30 10:50:55 +00:00
ondrej
feccd7b7df datetimectrls: TDateTimePicker: add SendExternalKey method
git-svn-id: trunk@53804 -
2016-12-30 10:26:55 +00:00
ondrej
b8082b8827 datetimectrls: datetimepicker: add EnableIfUnchecked property
git-svn-id: trunk@53760 -
2016-12-22 18:13:34 +00:00
zoran
5416af6a20 TDateTimePicker - removing not needed lines of code
git-svn-id: trunk@52594 -
2016-07-01 11:34:44 +00:00
zoran
7c8840606e TDateTimePicker - correction of drawing speed button arrow - asYetAnotherShape
git-svn-id: trunk@52593 -
2016-07-01 11:03:51 +00:00
zoran
7ea0992229 DateTimePicker - check selection update on changing DateDisplayOrder
git-svn-id: trunk@52056 -
2016-03-25 14:28:22 +00:00
ondrej
705328d2e1 components: datetime picker: rewrite drop down drawing, use themes by default
git-svn-id: trunk@51969 -
2016-03-17 08:06:00 +00:00
ondrej
516b7dd2cc components: datetime picker: add FlatButton property
git-svn-id: trunk@51968 -
2016-03-17 07:04:35 +00:00
ondrej
6850c3787f components: datetimepicker: invoke Change/OnChange also when DateTime was changed programatically (like edit).
git-svn-id: trunk@51967 -
2016-03-17 06:58:50 +00:00
ondrej
ad30a9f3e2 components: datetime picker: keep parent form active when calendar window is shown (win32 only, should do nothing on other OS)
git-svn-id: trunk@51956 -
2016-03-15 21:24:58 +00:00
zoran
ee08798b5e TDateTimePicker - switch to OnClick instead of OnMouseUp
git-svn-id: trunk@51734 -
2016-02-27 14:33:16 +00:00
zoran
238a361f68 Fix KeyDown in calendar in Windows (to close only when CalendarView is cvMonth)
git-svn-id: trunk@51733 -
2016-02-27 14:17:05 +00:00
zoran
e2a04877b0 TDatePicker added public property DroppedDown - Delphi compatible
git-svn-id: trunk@50025 -
2015-10-10 13:33:30 +00:00
zoran
468f3f322b TDatePicker added property CalAlignment - Delphi compatible
git-svn-id: trunk@50024 -
2015-10-10 13:23:42 +00:00
mattias
5772aff233 fixed wrong Frac/Trunc in DecodeDate/Time
git-svn-id: trunk@47641 -
2015-02-07 12:22:35 +00:00
mattias
1ace74c1d3 datetimectrls: fixed decodetime
git-svn-id: trunk@47637 -
2015-02-07 12:14:19 +00:00
mattias
f411da2257 datetimectrls: fixed compilation with fpc 2.7.1
git-svn-id: trunk@47246 -
2014-12-25 10:51:02 +00:00
zoran
6f48c19f06 add auto correction of date parts when AutoAdvance is on, in order to make possible for user to edit dates smoothly
git-svn-id: trunk@47237 -
2014-12-23 12:51:33 +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
zoran
e4751d8f8c DateTimePicker: use LazUTF8 instead of LCLProc
git-svn-id: trunk@45494 -
2014-06-13 10:51:07 +00:00
zoran
ef1f0b14a6 DateTimePicker: code cleanup
git-svn-id: trunk@45316 -
2014-06-03 07:18:58 +00:00
zoran
9459918ec8 DateTimePicker: cleanup code from ifdef regarding very old Lazarus version
git-svn-id: trunk@44434 -
2014-03-15 15:36:07 +00:00
zoran
10d67b7628 DateTimePicker: Always use PopupMode pmAuto
git-svn-id: trunk@44388 -
2014-03-09 16:16:32 +00:00
zoran
26b20e2946 datetimectrls - AutoAdvance defaults to True
git-svn-id: trunk@44337 -
2014-03-04 04:34:20 +00:00
zoran
58e0398461 datetimectrls - prevent calendar drop when day is not shown
git-svn-id: trunk@44336 -
2014-03-04 04:26:23 +00:00
juha
425985c464 New components TDateTimePicker and TDBDateTimePicker. Copied and modified from ZV-components from Zoran Vučenović.
git-svn-id: trunk@43857 -
2014-01-31 11:03:03 +00:00