TDBDateEdit? lazarus / 16-Databases ---------------------------------------------------------------------- snorkel · 2014-11-17 17:25 Does anyone know of a tdbdateedit that works on linux?  I was using the one in the RX package but when I moved the app to linux it gives resource errors with that component. ---------------------------------------------------------------------- kpeters58 · 2014-11-17 21:44 This one should work fine under Linux: TZVDateTimePicker control for Lazarus - - - - - - - - - - - - - - - - - - - Author: Zoran Vučenović, January and February 2010         Зоран Вученовић, јануар и фебруар 2010.    This unit is part of ZVDateTimeCtrls package for Lazarus.    Delphi's Visual Component Library (VCL) has a control named TDateTimePicker, which I find very useful for editing dates. Lazarus Component Library (LCL), however, does not have this control, because VCL wraps native Windows control and it seems that such control does not exist on other platforms. Given that LCL is designed to be platform independent, it could not use native Win control.    Instead, for editing dates LCL has a control named TDateEdit, but I prefer the VCL's TDateTimePicker.    Therefore, I tried to create a custom control which would resemble VCL's TDateTimePicker as much as possible, but not to rely on native Windows control.    This TZVDateTimePicker control does not use native Win control. It has been tested on Windows with win32/64 and qt widgetsets, as well as on Linux with qt and gtk2 widgetsets. ---------------------------------------------------------------------- snorkel · 2014-11-17 22:53 Thanks, I was not aware of that one, will check it out. ---------------------------------------------------------------------- Zoran · 2014-11-18 10:57 Yes and it has a db aware version See http://wiki.freepascal.org/ZVDateTimeControls_Package These controls has recently been included in LCL, but under name TDateTimePicker and TDBDateTimePicker. The prefix ZV is removed. So, if you use Lazarus from trunk, you will find these under /components/datetimectrls. ---------------------------------------------------------------------- snorkel · 2014-11-18 15:41 Quote from: Zoran on November 18, 2014, 11:57:51 amYes and it has a db aware version See http://wiki.freepascal.org/ZVDateTimeControls_Package These controls has recently been included in LCL, but under name TDateTimePicker and TDBDateTimePicker. The prefix ZV is removed. So, if you use Lazarus from trunk, you will find these under /components/datetimectrls. Thanks Zoran, that's great news :-)