Setting version to 1.5 and updating documentation accordingly

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
zoran-vucenovic
2014-06-16 11:29:33 +00:00
parent 144f4dd25b
commit 05f60addce
4 changed files with 472 additions and 458 deletions

View File

@ -1,4 +1,4 @@
===================================================
===================================================
Version 1.0 -- 27. Feb. 2010.
Initial release
@ -65,4 +65,17 @@ These are main changes:
In Qt ws, the client rect of the control was not calculated correctly. Fixed now.
Plus many internal changes...
Plus many internal changes...
===================================================
Version 1.5 -- 16. June 2014.
These are main changes:
New properties added: AutoAdvance, Cascade, AutoButtonSize, HideDateTimeParts, CalendarWrapperClass (public), ShowMonthNames, MonthNames.
Showing month names instead of numbers is possible now, with new properties ShowMonthNames and MonthNames.
Now possible to use some other calendar control instead of LCL's TCalendar, with CalendarWrapperClass property.

File diff suppressed because one or more lines are too long

View File

@ -26,7 +26,7 @@
</CompilerOptions>
<Description Value="TZVDateTimePicker - the cross-platform control behaving much like VCL's TDateTimePicker. TDBZVDateTimePicker - the data-aware version of TZVDateTimePicker"/>
<License Value="Modified LGPL"/>
<Version Major="1" Minor="4" Release="1"/>
<Version Major="1" Minor="5"/>
<Files Count="7">
<Item1>
<Filename Value="zvdatetimepicker.pas"/>

View File

@ -46,9 +46,16 @@ uses
clocale, // needed to initialize default locale settings on Linux.
{$endif}
Classes, SysUtils, Controls, LCLType, Graphics, Math, StdCtrls, Buttons,
ExtCtrls, Forms, ComCtrls, Types, LMessages, LazUTF8, CalendarControlWrapper;
ExtCtrls, Forms, ComCtrls, Types, LMessages, LazUTF8, CalendarControlWrapper,
LCLVersion;
const
{ With future Lazarus 1.4, use DateTimeCtrls package: }
{$if lcl_fullversion >= 01040000}
{$Hint From Lazarus version 1.4, package ZVDateTimeCtrls should be replaced by
package DateTimeCtrls, which is included in Lazarus distribution.}
{$endif}
{ We will deal with the NullDate value the special way. It will be especially
useful for dealing with null values from database. }
NullDate = TDateTime(Math.MaxDouble);