Arsip untuk ‘Delphi’ Kategori
Membuat Splash Screen
Untuk membuat Splash Screen pada Delphi, langkah-langkahnya adalah:
, kemudian pasang pada FrmSplash sesuai keinginan anda :
procedure TFrmSplash.StartSplash;
var
i : integer;
begin
BorderWidth := 0;
Show;
Update;
i := 7500;
ProgressBar.Max := 0;
while i <> 0 do
begin
if i = 7500 then
begin
ProgressBar.Max := i;
ProgressBar.Min := 0;
ProgressBar.Step := 1;
end;
if ProgressBar.Max <> 0 then
ProgressBar.StepIt;
dec(i);
end;
update;
end;
try
FrmSplash.StartSplash;
FrmSplash.Close;
finally
FrmSplash.Free;
Komentar (6)



