procedure TForm1.Label1MouseMove(Sender: TObject; Shift: TShiftState; X,<br> Y: Integer);<br>begin<br> label1.font.color:=clRed; //移动时改变label颜色<br>end;<br><br>procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,<br> Y: Integer);<br>begin<br> label1.Font.color:=clBlue; //恢复到原来的颜色<br>end;