Arsip: Proses....

more 18 years ago
indira_srg
:roll:
Frenz....
Gimana ya caranya jika saat onshow mau jalanin proses panjang, udah ane coba tapi yang terjadi malah formnya muncul setelah proses selesai.
Ini procedure testnya...
procedure TForm1.FormShow(Sender: TObject);
var
i:integer;
begin
label1.Caption:='Test ';
for i := 1 to 20000 do
begin
label1.Caption:=label1.Caption+'.'+IntToStr(i);
end;
end;

more 18 years ago
ImanD
cobain pake StaticText jadinya di TabSheetnya Additional atawa ngebuat thread sendiri klo tetep pke Tlabel
procedure TForm1.FormShow(Sender: TObject);
var
i:integer;
begin
StaticText1.Caption:='Test ';
for i := 1 to 20000 do
begin
StaticText1.Caption:=StaticText1.Caption+'.'+IntToStr(i);
end;
end;

more 18 years ago
ImanD
oia sorry bleum kasi tau, klo pke StaticText loopingnya keliatan tapi Form tetep kaku. aku saranin buat thread az

more 18 years ago
hasan_plg
Coba tambahkan command Application.ProcessMessage dan Sleep di bawah label1.Caption
procedure TForm1.FormShow(Sender: TObject);
var
i:integer;
begin
label1.Caption:='Test ';
for i := 1 to 20000 do
begin
label1.Caption:=label1.Caption+'.'+IntToStr(i);
Application.ProcessMessage;
Sleep(500)
end;
end;

more 18 years ago
mas_kofa
coba kalo prosesnya kamu jalanin di formcreate nya dan hasil prosesnya disimpan di variabel, baru nanti hasilnya kamu tampilkan di formshow, contoh :
form1.formcreate(sender:TObject);
var i : integer;
begin
scaption := ''; //variabel global;
for i := 1 to 20000 do scaption := scaption + IntToStr(i);
end;
procedure TForm1.FormShow(Sender: TObject);
begin
label1.Caption:= scaption';
end;
kira2 gmn ya?????
more ...
- Pages:
- 1
reply |
Report Obsolete
AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now:
https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago
Random Topic
- tile isometric
by dinorich in Games more 17 years ago - Delphi Pemrograman OOP murni apa terstruktur
by khairulfahmi in Enginering more 17 years ago - [Error] WARNING. Duplicate resource(s):
by Kecret in Hal umum tentang Pascal Indonesia more 17 years ago - Aneh
by don2103 in MsSQL more 14 years ago - StringGrid yang enak...
by n3o_cybertech in Lain-lain more 17 years ago - Advanced Mobile Programming
by amyra in Tip n Trik Pemrograman more 18 years ago - Nanya QuickReport Di Delphi 7
by isoke in Hal umum tentang Pascal Indonesia more 19 years ago - program OCR pake delphi
by luina in Hal umum tentang Pascal Indonesia more 17 years ago - Tanya Fast Report yang cukup sulit bagi saya,heheheheh??/
by ahmeed in Reporting more 16 years ago - Delphi vs Ms.Access
by wiedhodho in Hal umum tentang Pascal Indonesia more 18 years ago