catatan :
buat fungsi tanggal sebagai berikut :
function SelisihTanggal(TglOld,TglNew: TDate): Integer;begin Result:= Trunc(TglNew - TglOld);end;letakkan source code ini pada even onclik tombol hitung
Edit1.Text:= IntToStr(SelisihTanggal(DateTimePicker1.Date, DateTimePicker2.Date));letakkan source code ini pada even form create
DateTimePicker2.Date:= Now;
source code selengkapnya:
{ ...
This is default featured slide 1 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Minggu, 23 Desember 2012
Jumat, 14 Desember 2012
NOMOR OTOMATIS
22.28
No comments
procedure Tfo_list_peminjam.init_otomatis;var n,x,t : integer; d,m : Word; h : real; s,i,p,c : string; b : boolean;function testing(a,b : Integer):string;begin //Result := testing(a); while Length(Result)<b do Result := '0'+Result;end;begin n := 1; //m := YearOf(Date); //d := MonthOf(date); s := testing(d,2); i := testing(n,4)+IntToStr(m)+s; ...
Langganan:
Postingan (Atom)