Einzelnen Beitrag anzeigen

pstruh
(Gast)

n/a Beiträge
 
#9

Re: TMenuItem mit OnSelect/MouseOver ?

  Alt 24. Sep 2007, 15:54
Moin, moin,

auch hier bin ich kein Experte, aber muss es nicht statt

Delphi-Quellcode:
procedure TMenuItemEx.DoMouseLeave;
begin
  if Assigned( FOnMouseLeave) then FOnMouseLeave( Self);
end;
so deklariert werden?

Delphi-Quellcode:
procedure TMenuItemEx.DoMouseLeave;
begin
  if @OnMouseLeave<>nil then OnMouseLeave(Self);
end;
Gruß
  Mit Zitat antworten Zitat