procedure TForm1.SpeedButton1Click(Sender: TObject);
var
Apoint:TPoint;
begin
APoint:=TSpeedButton(Sender).ClientToScreen(Point(0,TSpeedButton(Sender).ClientHeight));
PopupMenu1.Popup(Apoint.X,Apoint.Y);
end;
怎样获取按钮的坐标
最新推荐文章于 2024-06-06 17:14:05 发布