Autor Beitrag
dirkil2
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130



BeitragVerfasst: Fr 31.12.04 00:46 
Ich würde gerne bei Berechnungen, die länger dauern, ein Formular einblenden etwa mit dem Text "Bitte warten...". Und damit das ganze nicht so langweilig wird, wollte ich ein unaufdringliches animiertes GIF mit draufpacken (z.B. Sanduhr etc.)

Gibt es da eine fertige Komponente oder muss ich mir das selber schreiben?
MartinPb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 698



BeitragVerfasst: Fr 31.12.04 01:18 
Ein Formular mit "Bitte warten ..." erstellen und auf StayOnTop und Hide stellen. Vor der Berechnung das Formular auf Visible := True stellen; nach der Berechnung wieder auf False. Mehr ist nicht nötig.

_________________
Gruß
Martin
dirkil2 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130



BeitragVerfasst: Fr 31.12.04 10:06 
@MartinPb

Ok, ich gebe zu, ich habe mich nicht deutlich genug ausgedrückt. Der Teil mit dem Formular (Visible/StayOnTop/etc) ist mir schon klar. Was ich eigentlich wissen will, ist, wie ich das animated Gif hinbekomme.
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Fr 31.12.04 15:59 
hi,

hast du mal die komponente "Animate" (die mit so ner lupe auf der Seite Win32) angeschaut?
edit: Gerade festgestellt, daß man damit nur avi und gif abspielen kann.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.