From dad81015b05784c43d3ac382b05e22268855d8bb Mon Sep 17 00:00:00 2001 From: dsiders Date: Sat, 20 May 2023 20:54:15 +0100 Subject: [PATCH] Docs: LCL/extctrls. Adds Notification topics in TCustomCheckGroup, TCustomRadioGroup for changes in d405afa0. * Fixes spelling errors: checkbox -> check box. --- docs/xml/lcl/extctrls.xml | 90 +++++++++++++++++++++++++++++++++------ 1 file changed, 77 insertions(+), 13 deletions(-) diff --git a/docs/xml/lcl/extctrls.xml b/docs/xml/lcl/extctrls.xml index ebfb434fd5..5e35674a29 100644 --- a/docs/xml/lcl/extctrls.xml +++ b/docs/xml/lcl/extctrls.xml @@ -4383,8 +4383,8 @@ Ensures that checked radio buttons have their TabStop property set to -Calls the UpdateItems method to add or remove radio buttons for the grouped -control. +Calls the private UpdateItems method to add or remove radio buttons for the +grouped control.

@@ -4565,6 +4565,38 @@ when a new value is assigned to the ItemIndex property. + + +Handles the notification for a components inserted into or deleted from the +control. + + +

+Notification is an overridden method in +TCustomRadioGroup. It calls the inherited method on entry to handle +notifications for pop-up menus, actions, or control references in AnchorSides. +In TCustomRadioGroup, it maintains the internal list of TRadioButton instances +when a radio button is removed from the control. +

+
+ +Added in LCL version 2.4.0. + + + + +
+ + +Component added to or removed from the control instance. + + + + +Operation performed for the component. + + + Constructor for the class instance. @@ -5129,7 +5161,7 @@ Ordinal position for the check box clicked in the grouped control. -Implements the OnKeyDown event handler assigned to checkboxes in the control. +Implements the OnKeyDown event handler assigned to check boxes in the control. @@ -5146,7 +5178,7 @@ Implements the OnKeyDown event handler assigned to checkboxes in the control. -Implements the OnKeyUp event handler assigned to checkboxes in the control. +Implements the OnKeyUp event handler assigned to check boxes in the control. @@ -5163,7 +5195,7 @@ Implements the OnKeyUp event handler assigned to checkboxes in the control. -Implements the OnKeyPress event handler assigned to checkboxes in the control. +Implements the OnKeyPress event handler assigned to check boxes in the control. @@ -5177,7 +5209,7 @@ Implements the OnKeyPress event handler assigned to checkboxes in the control. -Implements the OnUTF8KeyPress event handler assigned to checkboxes in the +Implements the OnUTF8KeyPress event handler assigned to check boxes in the control. @@ -5224,7 +5256,7 @@ Items in the control. Ordinal position for the check box updated in the method. -New value for the checkbox. +New value for the check box. @@ -5238,7 +5270,7 @@ Items in the control. Ordinal position for the check box updated in the method. -New value for the enable state in the checkbox. +New value for the enable state in the check box. @@ -5254,7 +5286,7 @@ Items in the control. -Adds or removes checkboxes for the Items defined for the control. +Adds or removes check boxes for the Items defined for the control. @@ -5279,8 +5311,8 @@ Updates the control when the Items property is changed.

-Calls UpdateItems to refresh the checkboxes displayed for the -grouped edit control. +Calls the private UpdateItems method to refresh the check boxes +displayed for the grouped edit control.

@@ -5390,6 +5422,38 @@ mechanism. + + +Handles the notification for a components inserted into or deleted from the +control. + + +

+Notification is an overridden method in +TCustomCheckGroup. It calls the inherited method on entry to handle +notifications for pop-up menus, actions, or control references in AnchorSides. +In TCustomCheckGroup, it maintains the internal list of TCheckBox instances +when a check box is removed from the control. +

+
+ +Added in LCL version 2.4.0. + + + + +
+ + +Component added to or removed from the control instance. + + + + +Operation performed for the component. + + + Constructor for the class instance. @@ -10568,9 +10632,9 @@ arguments for the method.

GetControlInfo is called from the InsertControl method when the specified control is positioned, aligned, and added to the internal -TCrtlBands container for the control bar. GetControlInfo signals the +TCtrlBands container for the control bar. GetControlInfo signals the OnBandInfo event handler (when assigned) to store information about the -bounds rectangle, width, and number of rows needed for the control / band. +bounds rectangle, width, and number of rows needed for the control / band. Values are returned in the Insets, PreferredSize, and RowCount variable arguments.