From 5af7ac9c2733fb40c063ed7a0c2eee2ffdfd9b90 Mon Sep 17 00:00:00 2001 From: dsiders Date: Thu, 13 Feb 2025 06:29:23 -0500 Subject: [PATCH] Docs: LCL/forms. Updates the TScrollingWinControl.DestroyWnd topic for changes in be89c477. Issue #40794. (cherry picked from commit d2acaace1fa7244519510447986d5ede8811574c) --- docs/xml/lcl/forms.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index b59d8a64bd..dee52e0411 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -1409,6 +1409,32 @@ the inherited method to create the window and its handles. + + +Frees or invalidates resources in the class instance when the window Handle is +freed. + + +

+DestroyWnd is an overridden method in +TScrollingWinControl used to maintain resources allocated in the +class instance when the window Handle for the control is freed. It calls the +inherited method on entry to free handles allocated for the control Canvas and +the widgetset class instance. It ensures that scroll bar information allocated +in either HorzScrollBar or VertScrollBar is invalidated when the handle(s) are +freed. +

+
+ + + +TCustomControl.Canvas +TCustomControl.DestroyWnd +TWinControl.Handle +TWinControl.DestroyHandle + +
+ The origin for the physical client area.