Registriert seit: 23. Jun 2003
416 Beiträge
Delphi 2006 Professional
|
Re: wie komponente per sender zustand zuweisen
21. Aug 2003, 19:28
Mit einer if-Abfrage ...
Delphi-Quellcode:
if Sender = Button1 then
ShowMessage('Button1')
else if Sender = Button2 then
ShowMessage('Button2');
// ...
"Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking." (Dave Barry)
|