FindControl function
Return the TWinControl for the given Handle.
Declaration
function FindControl(Handle: HWND): TWinControlDescription
The result is very interface specific; use FindOwnerControl when Handle may be a non-TWinControl handle. Handle can also be a child handle, and does not need to be the Handle property of the Result.
Important: In most cases, Result.Handle and the Handle parameter value are not the same.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
