D dq Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-27 #2 var P: TPoint;<br>with SomeControl do P := ClientToScreen(BoundsRect.TopLeft);<br>ShowMessage(Format('SomeControl的屏幕座标是(%d,%d)', [P.x, P.y]));
var P: TPoint;<br>with SomeControl do P := ClientToScreen(BoundsRect.TopLeft);<br>ShowMessage(Format('SomeControl的屏幕座标是(%d,%d)', [P.x, P.y]));
D dq Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-27 #4 不好意思,我写错了,应该是 P := SomeControl.ClientToScreen(Point(0, 0));