Membatasi Program Demo pada Delphi (Expired)

procedure TForm1.FormShow(Sender: TObject);
var
Tahun, Bulan, Tanggal : Integer;
begin
Tahun := 2007;
Bulan := 9;
Tanggal := 1;

if (Date >= EncodeDate(tahun, Bulan, Tanggal)) then
begin
ShowMessage(’Program Demo Sudah Selesai’);
Close;
end;
end;

http://maulaku.wordpress.com/category/tips-dan-trik/

Leave a Reply

Your email address will not be published. Required fields are marked *