Einzelnen Beitrag anzeigen

Benutzerbild von Lannes
Lannes

Registriert seit: 30. Jan 2005
Ort: Münster
745 Beiträge
 
Delphi 3 Professional
 
#10

Re: 2 mal klicken?!

  Alt 12. Jan 2006, 22:48
Hallo,

dann schlag ich mal eine weiter Variante vor:
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  case Color of
    clBtnFace : Color := clGreen;
    clGreen : Color := clRed;
    clRed : Color := clYellow;
    clYellow : Color := clBtnFace;
  end;
end;
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
  Mit Zitat antworten Zitat