From e08ea9d54a2fbf5e1e1567d423f0069f3abf1490 Mon Sep 17 00:00:00 2001 From: dsiders Date: Tue, 5 Dec 2023 20:02:17 +0000 Subject: [PATCH] Docs: LCL/stdctrls. Updates TCustomComboBox.Create and TCustomEdit.Create topics for changes in 469e1318. Issue #40379. --- docs/xml/lcl/stdctrls.xml | 52 ++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index 6b460cbb49..28affd52b3 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -3324,11 +3324,9 @@ The default value for the property is False. Create is the overridden constructor for the class instance, and calls the inherited constructor on entry. Create ensures that resources are allocated for members in the class instance. Create sets the default values -for properties, including the following: +for properties, including:

-
ControlSyle
-
Removes csCaptureMouse from the style flags.
DropDownCunt
Set to display 8 items by default.
ArrowKeysTraverseList
@@ -7564,20 +7562,50 @@ GetRGBColorResolvingParent method. Constructor for the class instance.

-Create is the overridden constructor for the class instance, and -calls the inherited constructor on entry. Create ensures that values in the -component and ControlStyle properties are set for the control. -ControlStyle excludes the value csCaptureMouse and includes the value -csRequiresKeyboardInput. +Create is an overridden constructor in TCustomEdit, and +calls the inherited constructor on entry. Create ensures that component and +control styles are set to the values needed for the edit control; csEdit in +component style, csRequiresKeyboardInput is included in ControlStyle. Please +note that these values may be changed in descendent classes; i. e. TCustomMemo +uses csMemo instead of csEdit in the component style.

-Create sets the default values for properties, including: MaxLength, -HideSelection, ParentColor, TabStop, EchoMode, BorderStyle, AutoSelect, -AutoSelected, and TextHint. +The default values for properties are assigned, including:

+
    +
  • MaxLength
  • +
  • HideSelection
  • +
  • ParentColor
  • +
  • TabStop
  • +
  • EchoMode
  • +
  • BorderStyle
  • +
  • AutoSelect
  • +
  • AutoSelected
  • +
  • AutoSize
  • +
  • AccessibleRole
  • +
  • TextHint
  • +
- + + + + + + + + + + + +TCustomLabeledEdit +TCustomMaskEdit +TCustomFloatSpinEdit +TControl.AccessibleRole +TControl.ControlStyle +TWinControl.Create + + Owner of the class instance.