Einzelnen Beitrag anzeigen

IngoD7

Registriert seit: 16. Feb 2004
464 Beiträge
 
Delphi 7 Enterprise
 
#11

Re: Gibt es einen Toggle Befehl ?

  Alt 6. Mär 2007, 08:10
Ich will auch, ich will auch ...

Prozedur:
Delphi-Quellcode:
procedure Toggle(aBox: TCheckBox);
begin
   if aBox is TCheckBox then
      aBox.Checked := not aBox.Checked;
end;
...
Toggle(DLED1);
Beschränkt auf TCheckBox natürlich.
  Mit Zitat antworten Zitat