unit uEditorFechaPago; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar; type TfEditorFechaPago = class(TForm) Label1: TLabel; eFechaPago: TcxDateEdit; bAceptar: TButton; bCancelar: TButton; procedure FormShow(Sender: TObject); private { Private declarations } public { Public declarations } end; var fEditorFechaPago: TfEditorFechaPago; implementation {$R *.dfm} procedure TfEditorFechaPago.FormShow(Sender: TObject); begin eFechaPago.Date := Date; end; end.