Autor Beitrag
Ice-X2
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 26

Win XP
D6 Pers
BeitragVerfasst: Do 04.08.05 13:44 
Hi

Ihr kennt doch sicherlich solche proggies dass wenn man die startet dann kommt z.B (PHOTOIMACT, Please wait while loading fonts...) ja sowas in der art halt (... und dann kommt das "Photoimpact").

Ich hab aber letzdings gesehen (sry weis nimma wo) da is des "loading"-fenster so "hereingeschwommen". Hmm wie kann ich des anders ausdrücken... Ahhh etz weis ich's wieder bei Ad-Aware SE z.b wenn man des startet dann kommt am amfang so 'n fenster (Loading Definitions, blabal)
so "hereingeschwommen" hm ich hoffe ihr versteht mich...

Und genau so was möcht ich auch in mein Proggie einbauen. Ich etz mal so gedanken gemacht und bin auf die eigenschaft FORM.VISIBLITY (das Visiblity z.b jede Sekunde um 1++ erhöht wird) gekommen ,aber ich denk mal des geht irgendwie anders, oder nicht?

Würd mich echt auf ne antwort freun und ich hoffe ihr versteht mich , - :wink:

MFG
SpHiNgZ
Stübi
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 331

Win XP, Win 2000, Win ME
D5 Ent, D7 Prof, D2005 PE, C#
BeitragVerfasst: Do 04.08.05 13:48 
Hallo

Such mal nach Suche in: Delphi-Forum, Delphi-Library SPLASHSCREEN

Grüsse Stübi

_________________
Neun von zehn Stimmen in meinen Kopf sagen, dass ich nicht verrückt sei. Die zehnte summt die Tetrismelodie.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 04.08.05 14:57 
ich dnek das was du meinst ist alphablending !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Ice-X2 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 26

Win XP
D6 Pers
BeitragVerfasst: Do 04.08.05 19:43 
Oh, ja so was kann ich auch gebrauchen :wink: nur wie kann ich es machen dass es halt so hereinschwimmt (Ad-Aware !!) ???
sango
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 236

WinXP Home
Delphi 2005 Pro
BeitragVerfasst: Do 04.08.05 20:55 
ich glaube du sprichst vom automatischen bewegen einer form, richtig?

das würde man z.b. über nen timer lösen welcher z.b.
ausblenden Delphi-Quelltext
1:
2:
Form1.left := Form1.left+1;
Form1.top := Form1.top+1;

_________________
Never read the Off-Topic
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Do 04.08.05 21:03 
Ich wiederrum hab das so verstanden, dass das die Durchsichtigkeit des Formulares langsam abnehmen soll. :gruebel: Und dann möglichst noch von oben nach unten hin (also oben fängt es eher an "einzufaden")
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 05.08.05 10:47 
also ich hab mir jetzt mal extra adaware installiert.
das was du meinst ist schicht und einfach das alpha blending. der spalsh screen faded einfach nur ein !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Fr 05.08.05 10:52 
und das ganze machst du (ab delphi 5 oder 7?) indem du eine form auf
AlphaBlend := true setzt und den anfangswert auf von AlphaBeldnValue auf 0

in nem timer (50 msek)

ausblenden Delphi-Quelltext
1:
2:
  if form1.AlphaBlendValue < 255 then
    form1.AlphaBlendValue := form1.AlphaBlendValue+5;


dabei aufpassen das genau der wert von 255 errericht wird, wenn du +6 addierst dann "flashed" die form immer weil bei nem byte überlauf wieder bei 0 beginnt und die schleife nie abbrechen wird.

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Fr 05.08.05 12:40 
Alphablend auf True setzen.

Alphablendvalue auf 0 setzen.

Einen Timer mit Interval 20 erstellen.

Den Code hier einfügen, fertig:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
  if alphablendvalue < 255 then
    alphablendvalue := alphablendvalue + 5 else
      timer1.enabled := false;
end;


ich hab auch mal gelesen wie mans mit ner schleife machen kann, aber so ist dann doch die beste methode.

Wenn du ne Version < Delphi 6 hast, dann guckstu hier:

www.swissdelphicente.../showcode.php?id=924

oder bei torry.net (wenn grad online)

vielleicht hilft dir das weiter ;)