Thema: Delphi WINDOWS Startleiste

Einzelnen Beitrag anzeigen

Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#10

Re: WINDOWS Startleiste

  Alt 17. Aug 2007, 23:46
Bietet mir die Form nicht an. Das Label hat ne OnMouseLeave Funktion. Aber die Form eben nicht.

P.S.: D6 Enterprise

Müsste ich das also selber implementieren, oder?

Delphi-Quellcode:

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, VrControls, VrGradient;

type
  TForm2 = class(TForm)
    VrGradient1: TVrGradient;
    VrGradient2: TVrGradient;
    VrGradient3: TVrGradient;
    VrGradient4: TVrGradient;
    Label1: TLabel;
    procedure FormDeactivate(Sender: TObject);
    procedure Label1Click(Sender: TObject);
    procedure Label1MouseLeave(Sender: TObject);
    procedure Form1MousLeave(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form2: TForm2;

implementation

{$R *.dfm}
.
.
.

procedure TForm2MouseLeave(Sender: TObject);
begin
Form2.close;
end;
.
.
.
end.
so??
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat