[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find the origin (top left pixel) of this control on the screen
Source position: controls.pp line 1068
protected function TControl.GetControlOrigin: TPoint; virtual; |
Returns the screen coordinate of the topleft coordinate 0,0 of the control area. (The topleft pixel of the control on the screen)
Remark: | Note that this value is the position as stored in the interface and is not always in sync with the LCL. When a control is moved, the LCL sets the bounds to the wanted position and sends a move message to the interface. It is up to the interface to handle moves instantly or queued. |
lazarus-ccr.sourceforge.net |