var i:integer; begin for i:=0 to ComponentCount-1 do begin if (Components[i] is Tedit) then (Components[i] as Tedit).Clear; end; end;
for i := 0 to Controlcount do if controls[i] is Tedit then (controls[i] as tedit).text := ''
for i := 1 to 10 do TEdit(FindComponent('Edit'+IntToStr(i))).Text := '';
for i:=0 to componentcount-1 do begin temp:=components[i]; if temp is tedit then (temp as tedit).Text:='' else if temp is tcombobox then (temp as tcombobox).Text:=''; end;
i:integer;
begin
for i:=0 to ComponentCount-1 do
begin
if (Components[i] is Tedit) then (Components[i] as Tedit).Clear;
end;
end;
if controls[i] is Tedit then
(controls[i] as tedit).text := ''
TEdit(FindComponent('Edit'+IntToStr(i))).Text := '';
begin
temp:=components[i];
if temp is tedit then
(temp as tedit).Text:=''
else
if temp is tcombobox then
(temp as tcombobox).Text:='';
end;