9 lines
147 B
ObjectPascal
9 lines
147 B
ObjectPascal
var
|
|
B : TPoint;
|
|
P: TPoint;
|
|
begin
|
|
P := Point(0, 0);
|
|
B := Application.FindComponent('Test').ClientToScreen(P);
|
|
Result := B.X;
|
|
end;
|