procedure TForm1.FormCreate(Sender: TObject);begin DoSet;end;procedure TForm1.DoSet;var i: integer;begin for i := 0 to Self.ComponentCount - 1 do begin if UpperCase(Self.Components.ClassName) = 'TLABEL' then begin TLabel(Self.Components).OnMouseMove := MouseMove1 ; end; end;end;procedure TForm1.MouseMove1(Sender: TObject);begin if Sender is TLabel then TLabel(Sender).Font.Color := clred;end; 这样写TLabel(Self.Components).OnMouseMove := MouseMove1 这句话出错了,不能赋值Incompatible types:'Parameter lists differ'