132
end;
end;
procedure TOutputForm.DBEdit3KeyPress(Sender: TObject; var Key: Char);
begin
Case key of
'А'..'Я','а'..'я',#1..#32:exit
else key:=#0;
end;
end;
procedure TOutputForm.BitBtn1Click(Sender: TObject);
begin
DataMod-
ule1.OutputListDateWorksOt.Value:=strtodatetime(formatdatetime('dd.mm.yyyy',DatetimePicker1.DateTime));
DataMod-
ule1.OutputListDateWorksDo.Value:=strtodatetime(formatdatetime('dd.mm.yyyy',DatetimePicker2.DateTime));
DataMod-
ule1.OutputListDateStart.Value:=strtodatetime(formatdatetime('dd.mm.yyyy',DatetimePicker3.DateTime));
DataMod-
ule1.OutputListDateEnd.Value:=strtodatetime(formatdatetime('dd.mm.yyyy',DatetimePicker4.DateTime));
DataModule1.OutputList.Post;
Close;
end;
end.
SocialUnit.pas
unit SocialUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DBCtrls, Mask, Buttons, ComCtrls;
type
TSocialForm = class(TForm)
Label1: TLabel;
GroupBox1: TGroupBox;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;