[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find the Handle for the specified Control
Source position: controls.pp line 2264
function FindControl( |
Handle: hwnd |
):TWinControl; |
FindControl
Returns the TWinControl associated with the Handle.
This is very interface specific. Better use FindOwnerControl.
Handle can also be a child handle, and does not need to be the Handle property of the Result.
IMPORTANT: So, in most cases: Result.Handle <> Handle in the params.
lazarus-ccr.sourceforge.net |