TDateLabel: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | ### About | |
| 2 | 2 | ||
| 3 | 3 | *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. | |
| 4 | 4 | ||
| 5 | 5 | Its main caracteristics are : | |
| 6 | 6 | ||
| 7 | 7 | - DateTime allows you to assign a TDateTime value to the control. | |
| 8 | 8 | ||
| 9 | 9 | - Format allows you to define the format string to be used by the caption. | |
| 10 | 10 | ||
| 11 | 11 | 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. | |
| 12 | 12 | ||
| 13 | 13 | This control is useful for implementing custom calendar interfaces for day planner projects. | |
| 14 | 14 | ||
| 15 | 15 | 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. | |
| 16 | 16 | ||
| 17 | 17 | ### Screenshot | |
| 18 | 18 | ||
| 19 | 19 | 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. | |
| 20 | 20 | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 21 | + |  | |
| 25 | 22 | ||
| 26 | 23 | ### Author | |
| 27 | 24 | ||
| 28 | 25 | Extreme Programmers, LLC | |
| 29 | 26 | ||
| 30 | 27 | ### License | |
| 31 | 28 | ||
| 32 | 29 | [modified](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL) [LGPL](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.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. | |
| 33 | 30 | ||
| 34 | 31 | ### Download | |
| 35 | 32 | ||
| 36 | 33 | The latest stable release can be found on [SourceForge Lazarus-CCR](http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=328117). | |
| 37 | 34 | ||
| 38 | 35 | ### Change Log | |
| 39 | 36 | ||
| 40 | 37 | - Version 1.0 *22 June 2009* | |
| 41 | 38 | ||
| 42 | 39 | ### Dependencies / System Requirements | |
| 43 | 40 | ||
| 44 | 41 | - None | |
| 45 | 42 | ||
| 46 | 43 | Status: *Stable* | |
| 47 | 44 | ||
| 48 | 45 | Issues: None | |
| 49 | 46 | ||
| 50 | 47 | --- | |
| 51 | 48 | *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](/wiki-contact).* |
