From a1b5a9e58ef70017b633470512d6e49ab6c5b124 Mon Sep 17 00:00:00 2001 From: dsiders Date: Sun, 25 Feb 2024 16:42:03 +0000 Subject: [PATCH] Docs: LCL/comctrls. Updates TCustomTabControl topics for changes in 5e54b2f9, 148735d8. * TCustomTabControl.MaybeSelectFirstControlOnPage * TCustomTabControl.Change --- docs/xml/lcl/comctrls.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/xml/lcl/comctrls.xml b/docs/xml/lcl/comctrls.xml index 50a8783859..ce721dff77 100644 --- a/docs/xml/lcl/comctrls.xml +++ b/docs/xml/lcl/comctrls.xml @@ -4194,14 +4194,14 @@ Ordinal position for the page object removed from the page list. - + Updates the ActiveControl on the parent form when the specified page becomes active.

-ActivateFirstControlOnPage is a method used to ensure that the +MaybeSelectFirstControlOnPage is a method used to ensure that the active control on a form is properly updated when the page on the tab control is changed. It prevents the tabbed control from stealing focus if there is an enabled child control on the page specified in APage. It sets the @@ -4230,9 +4230,9 @@ APage does not have any child controls.

-ActivateFirstControlOnPage is called from the Change method, and when a new +MaybeSelectFirstControlOnPage is called from the Change method, and when a new value is assigned to the TabIndex property. It occurs after the current Page on -the tab control has been made visible and given focus. It occurs before the +the tab control has been made visible and given focus. It is called before the OnChange event handler is signalled.