你是指什么事件?这个没问题:<br>procedure TForm1.Panel1MouseUp(Sender: TObject; Button: TMouseButton;<br> Shift: TShiftState; X, Y: Integer);<br>begin<br> showmessage('Hello!');<br>end;<br><br>procedure TForm1.Panel2MouseUp(Sender: TObject; Button: TMouseButton;<br> Shift: TShiftState; X, Y: Integer);<br>begin<br> showmessage('Very Good!');<br>end;