[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The top, left pixel for the control in screen coordinates.
Source position: controls.pp line 1810
public property TControl.ControlOrigin : TPoint |
ControlOrigin is a read-only TPoint property with the screen-relative coordinates where the control is located.
The X and Y members in the property represent the Left and Top coordinates for the control after they are converted to screen coordinates. The values are derived by adding the TPoint values for the Left and Top coordinates to the ClientOrigin property for the Parent control. The return value contains the unmodified values in Left and Top when a Parent control has not been assigned.
ControlOrigin is used to implement the ScreenToControl and ControlToScreen methods.
|
The client coordinate with the left edge for the control. |
|
|
The client coordinate for the top edge of the control. |
|
|
The control within which the control is shown. |
|
|
Screen coordinates of the Top, Left pixel (in the client area) of the control. |
|
|
Converts control-relative coordinates to absolute screen coordinates. |
|
|
Converts absolute screen coordinates to control-relative coordinates. |
|
|
Converts absolute screen coordinates into client-relative coordinates. |
|
|
The Top, Left and Bottom, Right for the control, in client coordinates. |
Version 3.2 | Generated 2024-02-25 | Home |