was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews
 sonstiges ¦  tutorials ¦  Add&Win Gewinnspiel

Tips (1541)

Dateien (137)
Datenbanken (90)
Drucken (35)
Grafik (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Mathematik (76)
Multimedia (45)
Oberfläche (107)
Objekte/
ActiveX (51)

OpenTools API (3)
Sonstiges (126)
Strings (83)
System (266)
VCL (242)

Tips sortiert nach
Komponente


Tip suchen

Tip hinzufügen

Add&Win Gewinnspiel

Werbung

35 Visitors Online


 
...die AnimateWindow Funktion verwenden?
Autor: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch
[ Tip ausdrucken ]  

Tip Bewertung (18):  
     


{
  The AnimateWindow function enables you to produce
  special effects when showing or hiding windows.

  Mit der AnimateWindow Funktion kann man spezielle Effekte
  erzeugen beim Zeigen, Unsichtbarmachen (hide) einer Form.
}



procedure TForm1.Button1Click(Sender: TObject);
begin
  
Form2.BringToFront;
  AnimateWindow(Form2.Handle, 3000, AW_BLEND);
  Form2.Show;
 {
  The 3. parameter can be one or more of the following values:
  Der 3. parameter kan folgende Werte annehmen:

  AW_BLEND : Uses a fade effect
  AW_SLIDE : Uses slide animation.
  AW_ACTIVATE : Activates the window
  AW_HIDE : Hides the window.
  AW_CENTER : Makes the window appear to collapse inward
  AW_HOR_POSITIVE : Animates the window from left to right.
  AW_HOR_NEGATIVE : Animates the window from right to left
  AW_VER_POSITIVE : Animates the window from top to bottom
  AW_VER_NEGATIVE : Animates the window from bottom to top
 }
end;


{

Requirements:
  Windows NT/2000/XP: Included in Windows 2000 and later.
  Windows 95/98/Me: Included in Windows 98 and later.
}


 

Bewerten Sie diesen Tipp:

dürftig
ausgezeichnet


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners