procedure TForm1.Button1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
var Pos: TPoint;
begin
Pos := Button1.ClientToScreen(Point(X,Y));
PopupMenu1.Popup(Pos.x, Pos.y);
end;
var Pos: TPoint;
begin
Pos := Button1.ClientToScreen(Point(X,Y));
PopupMenu1.Popup(Pos.x, Pos.y);
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货