unit Unit1; 

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, db, FileUtil, LResources, Forms, Controls, Graphics,
  Dialogs, StdCtrls, rxmemds, dbdateedit, curredit;

type

  { TForm1 }

  TForm1 = class(TForm)
    Button1: TButton;
    CurrencyEdit1: TCurrencyEdit;
    DBDateEdit1: TDBDateEdit;
    dsData: TDatasource;
    Label1: TLabel;
    Label2: TLabel;
    rxData: TRxMemoryData;
    rxDataDOC_DATE: TDateField;
    procedure Button1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end; 

var
  Form1: TForm1; 

implementation

{ TForm1 }

procedure TForm1.FormCreate(Sender: TObject);
begin
  rxData.Open;
  rxData.Append;
  rxDataDOC_DATE.AsDateTime:=Now;
  CurrencyEdit1.Value:=1214.55
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  CurrencyEdit1.Invalidate;
end;

initialization
  {$I unit1.lrs}

end.

