diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index 92d1d1ac52..450a9c3ec7 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -10140,8 +10140,18 @@ TGraphicControl, you must query the ClientRect.
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.
+FindOwnerControl
+Returns the TWinControl owning the Handle. Handle can also be a child handle,
+and does not need to be the Handle property of the Result.
+IMPORTANT: Therefore, in most cases: parameter Handle <> Result.Handle
+RemainingClientRect: remaining clientrect without CurBorderSpace
+CurBorderSpace: current borderspace around RemainingClientRect
+Left, Top, Right, Bottom: apply these borderspaces to CurBorderSpace
+CurBorderSpace will be set to the maximum of CurBorderSpace and Left, Top, Right, Bottom.
+RemainingClientRect will shrink.
+RemainingClientRect will not shrink to negative size.
+