TDateLabel/es

From Free Pascal wiki
Revision as of 02:33, 27 June 2009 by Jma sp (talk | contribs) (→‎About)
Jump to navigationJump to search

Acerca de

TDateLabel es un descendiente de TLabel. Modifica la propiedad Caption para que sea de solo lectura. Además presenta dos nuevas propiedades: DateTime y Format.

Sus principales características son :

  • DateTime: permite asignar un valor TDateTime al control.
  • Format: permite definir el formato de cadena a utilizar por caption.

El propósito/ventaja de este control es permitir al diseñador mostrar de una forma elegante una fecha/hora en un formulario mientras el control todavía mantiene el valor en un tipo de dato TDateTime. Esto permite al programador utilizar todas las funciones date estandar (funciones date math) que se encuentran en la unit DateUtil.

Este control es útil para la implementación de interfaces de calendario para proyectos de planificación de diario.

La descarga contiene el componente, un paquete de instalación y una aplicación de demo que ilustra las características del componente 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.

TDateLabel.png

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

  • Version 1.0 22 June 2009

Dependencies / System Requirements

  • None

Status: Stable

Issues: None