Autor Beitrag
hansg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 168

Win XP Professional SP3, Vista Ultimate 32 SP1
Delphi 6 Professional
BeitragVerfasst: So 31.08.03 10:26 
Hallo zusammen,
über folgende Routine lösche ich bei den Checkboxen die Haken, wie kann
ich sie dabei mit enablen?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var
  i: Integer;
  current: TCheckBox;
begin
    for i := 1 to 100 do {Anzahl Checkboxen}
    begin
      current:=TCheckBox(FindComponent('CheckBox'+IntToStr(i)));
      current.State:=cbUnChecked;
    end;

_________________
Gruß Hans
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: So 31.08.03 10:48 
Hi,

wie wär's mit
ausblenden Delphi-Quelltext
1:
current.enabled:=true					


MfG,
FeG