for I := 0 to 71  do  
begin
        if Components[I] is TEdit Then  //判断该Component是否为Edit
         begin              (Components[I] as TEdit).Text := IntToStr(I) ;
    
         end;//if Components[I] is TCheckBox
end;//for I