Sign in Join
Wiki copytemporary

TDateLabel

English · Español · Français

About

TDateLabel is a descendant of TLabel. It overrides the Caption property and makes it read only. It also exposes two new properties: DateTime and Format.

Its main caracteristics are :

The purpose/advantage of this control is to allow the developer to display a formated date/time elegantly on a form while the control still retains the value in a true TDateTime data type. This allows the developer to use all of the standard date functions (date math functions) found in the DateUtil unit.

This control is useful for implementing custom calendar interfaces for day planner projects.

The download contains the component, an installation package and a demo application, that illustrates the features of the component along with some instrumentation for evaluating the chart on a given system.

Screenshot

Here is an exemple of TDateLabel. This example shows four TDateLabels, all containing the same DateTime value, presenting the value with different formatting. The border has been turned on to give perspective to the text alignment.

Author

Extreme Programmers, LLC

License

modified LGPL (same as the FPC RTL and the Lazarus LCL). You can contact the author if the modified LGPL doesn't work with your project licensing.

Download

The latest stable release can be found on SourceForge Lazarus-CCR.

Change Log

Dependencies / System Requirements

Status: Stable

Issues: None


From the Free Pascal wiki, page "TDateLabel", as it stood on 2009-06-27 after a change by Swen, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.