Difference between revisions of "DateTimeCtrls Package"

From Lazarus wiki
Jump to navigationJump to search
(DateTimeControls package readme file. Contains summary, author attribution and license)
 
m
Line 1: Line 1:
 
DateTimeControls Package for Lazarus
 
DateTimeControls Package for Lazarus
 
--------------------------------------
 
--------------------------------------
 +
GitHub: https://github.com/alrieckert/lazarus/tree/master/components/datetimectrls
  
  
 
About:
 
About:
 
The package contains two controls — TDateTimePicker and TDBDateTimePicker.
 
The package contains two controls — TDateTimePicker and TDBDateTimePicker.
 +
  
 
Delphi's VCL has a control named TDateTimePicker, which I find very useful for editing dates. LCL, however, does not have this control. Instead, for editing dates LCL has a control named TDateEdit, but I prefer the VCL's TDateTimePicker. Therefore, I tried to create a cross-platform Lazarus control which would resemble VCL's TDateTimePicker as much as possible. The TDateTimePicker control does not use native Win control, but it descends from LCL's TCustomControl to be cross-platform.
 
Delphi's VCL has a control named TDateTimePicker, which I find very useful for editing dates. LCL, however, does not have this control. Instead, for editing dates LCL has a control named TDateEdit, but I prefer the VCL's TDateTimePicker. Therefore, I tried to create a cross-platform Lazarus control which would resemble VCL's TDateTimePicker as much as possible. The TDateTimePicker control does not use native Win control, but it descends from LCL's TCustomControl to be cross-platform.
 +
  
 
TDBDateTimePicker is a data-aware version of TDateTimePicker, with nice way of handling null database values.
 
TDBDateTimePicker is a data-aware version of TDateTimePicker, with nice way of handling null database values.
 +
  
 
Author: Zoran Vučenović
 
Author: Zoran Vučenović
 +
  
 
License: Modified LGPL, same as Lazarus component library.
 
License: Modified LGPL, same as Lazarus component library.

Revision as of 16:18, 4 April 2014

DateTimeControls Package for Lazarus


GitHub: https://github.com/alrieckert/lazarus/tree/master/components/datetimectrls


About: The package contains two controls — TDateTimePicker and TDBDateTimePicker.


Delphi's VCL has a control named TDateTimePicker, which I find very useful for editing dates. LCL, however, does not have this control. Instead, for editing dates LCL has a control named TDateEdit, but I prefer the VCL's TDateTimePicker. Therefore, I tried to create a cross-platform Lazarus control which would resemble VCL's TDateTimePicker as much as possible. The TDateTimePicker control does not use native Win control, but it descends from LCL's TCustomControl to be cross-platform.


TDBDateTimePicker is a data-aware version of TDateTimePicker, with nice way of handling null database values.


Author: Zoran Vučenović


License: Modified LGPL, same as Lazarus component library.