(Gast)
n/a Beiträge
|
Re: Problem mit Buttons
22. Jan 2007, 23:03
guckt hier:
Delphi-Quellcode:
Button1.Enabled := DirectoryExists('C:\ mein pfad');
if Button1.Enabled = True then
Button1.Caption := 'ok!'
else
Button1.Caption := 'nicht ok!';
if Button1.Enabled = True then
Button2.Enabled := False
else
Button2.Caption := 'geklickt';
end;
|
|
|