RAD Studio VCL Reference
|
Specifies the screen coordinates (in pixels) of the top left corner of a control's client area.
property ClientOrigin: TPoint;
__property TPoint ClientOrigin;
Read ClientOrigin to locate the top-left corner of the control's client area. ClientOrigin returns X and Y coordinates as a TPoint type, where X specifies the horizontal coordinate of the point and Y specifies the vertical coordinate.
The screen coordinates of a control that is descended from TControl and not TWinControl are the screen coordinates of the control's parent added to its Left and Top properties. If the control doesn't have a parent, an EInvalidOperation exception is raised when ClientOrigin is read.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|