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.

- - + Find the Handle for the specified Control + +

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.

+
+
@@ -10151,8 +10161,15 @@ TGraphicControl, you must query the ClientRect.

- - + Find the Handle for the specified Owner Control + +

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

+
+
@@ -10262,13 +10279,15 @@ TGraphicControl, you must query the ClientRect.

- - + Returns a string for the name of the cursor as identified by an integer constant + Calls CursorToIdent to find correct entry in look-up table - + - + + Returns a string with the name of the cursor type corresponding to the integer constant + @@ -10293,13 +10312,15 @@ TGraphicControl, you must query the ClientRect.

- + Uses look-up table to find cursor identifier corresponding to integer cursor constant - + + Returns true if a valid entry is found in the look-up table + @@ -10328,8 +10349,15 @@ TGraphicControl, you must query the ClientRect.

- - + Adjust space round border of this control +

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.

+