Arsip: CARA MENJALANKAN COMPONEN GAUGE DI STATUS BAR
more 13 years ago
ilhuna
Halooo master2 delphii.. ada yg tau gak cara menjalankan komponen Gauge di status bar???? karena kalo naruhnya aja ga bisa mesti geser2 sendiri.. terus ada yg tau juga gak Cara membuat tulisan PROSSESING... berjalan2 ke samping semisal ketika gaugenya lagi running, tulisan porsessingnya juga running.. pro...se..sing...[gaya animasi] :shock: mohon bantuannya thnks..
more 13 years ago
madi
dalam event oncreate main form :
gauge.parent := statusbar;
//letaknya terserah mau ditaruh dimana kirinya
gauge.left := 0
gauge.top := 1;
more 13 years ago
madi
dalam event ontimer1 :
var
s,hasil : string;
i : integer;
begin
s := 'Processing';
hasil := '';
for i := 1 to length(s) do
begin
sleep(1000);
hasil := hasil + Copy(s,i,1);
label1.caption := hasil;
end;
end;
bener gak nih code, lagi gak ada delphinya
more 13 years ago
madi
source jvcl
//implementation
var
Fblinking : Boolean;
s : string;
FBlinked,blink : Integer;
Fsens : Boolean;
FcurrentTitle : string;
{$R *.dfm}
procedure TForm1.tmr1Timer(Sender: TObject);
begin
if FBlinking then
begin
// (rom) this is a bad implementation better try to manipulate
// (rom) the WM_GETTEXT and WM_SETTEXT to the Form window
if Form1.Caption = s then
Form1.Caption := ''
else
begin
Form1.Caption := s;
Inc(FBlinked);
if FBlinked >= Blink then
begin
FBlinking := False;
FBlinked := 0;
end;
end;
end
else
begin
if FSens then
begin
if Length(FCurrentTitle) = Length(s) then
begin
FSens := False;
if Blink > 0 then
FBlinking := True;
end
else
begin
FCurrentTitle := FCurrentTitle + s[Length(FCurrentTitle) + 1];
Form1.Caption := FcurrentTitle;
end;
end
else
if FCurrentTitle = '' then
FSens := True
else
begin
SetLength(FCurrentTitle, Length(FCurrentTitle) - 1);
Form1.Caption := FcurrentTitle;
end;
end;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
s := 'Processing';
FcurrentTitle := '';
FBlinked := 0;
Fsens := True;
blink := 5;
end;
more 13 years ago
ilhuna
Ada contoh filenya gan?? ini saya coba semua ga ada yg berhasil nih scriptnya?? :(
more ...
- Pages:
- 1
reply |
Report Obsolete
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
- nanya cara mendapatkan alamat program yang berjalan invisibl
by Zulkarnain in Multimedia & Graphic Enhancement more 17 years ago - Deadly Red
by eksa in OOT more 16 years ago - bantu bikin sekripsi
by sumedi in OOT more 17 years ago - Web Development Using with MySQL & Delphi
by aamumung in Tip n Trik Pemrograman more 16 years ago - membuat video player, dengan Delphi???anyone can help me???
by johnizzy in Multimedia & Graphic Enhancement more 16 years ago - Baca Bandwidth
by ivan in Network, Files, I/O & System more 17 years ago - Deteksi error zeos
by om20020 in MySQL more 16 years ago - mengedit 2 buah data yang sama
by tara in Lain-lain more 15 years ago - koneksi DBLookupCombobox error
by sania in Tip n Trik Pemrograman more 13 years ago - Sinkron Waktu
by SnipSnip in Network, Files, I/O & System more 18 years ago