/////////////////////////////////////for i:=0 to self.ComponentCount-1 do
begin
if self.Components.ClassName='TEdit' then
begin
TEdit(self.components).text := '';
end;
///////////////////////////////////// if self.Components.ClassName='TCheckBox' then
begin
TCheckBox(self.components).Checked:=false;
end;
//////////////////////////////////// if self.Components.ClassName='TComboBox' then
begin
TComboBox(self.components).text := '';
end;
end;
vari,j:integer;
begin
for i:=0 to self.ComponentCount-1 do
begin
if self.Components is TLabel then
begin
(self.Components as TLabel ).caption:='';
end;
end;
end;