Commit Graph

36 Commits

Author SHA1 Message Date
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