From dce0eee55644bc0e38762d40e625d3d917c2c4d1 Mon Sep 17 00:00:00 2001
From: dsiders
+KeyUpAfterInterface is an overridden method in
+TCustomComboBox. It ensures that the EditingDone method is called
+when a VK_RETURN Key code is received from the LCL interface. The
+internal edit completion flag is reset prior to exiting from the method.
+
Change is a procedure used to perform actions needed when the
value for the control is changed. Change is called from the
-LMChanged method used to process the change notification message.
+LMChanged method used to process the change notification message.
Change calls the Changed method, inherited from TControl, to
Perform the control message. The OnChange event handler
is signalled (when assigned).
@@ -3374,7 +3390,7 @@ calls the AddObject method in Items to store the values in
CalculateStandardItemHeight gets the height for items using a temporary -TBitmap instance. -The Font for the control is assigned to the Canvas in the the bitmap -instance, and its TextHeight method is called to get the return value. +TBitmap instance. The Font for the control is assigned to the Canvas in the +the bitmap instance, and its TextHeight method is called to get the return +value.
-CalculateStandardItemHeight is called from the MeasureItem and FontChanged -methods in the TCustomCheckListBox descendent. +CalculateStandardItemHeight is called from the FontChanged method in the +TCustomCheckListBox descendent.
Click is an overridden method in TButtonControl. Click -calls the DoOnChange method to signal the OnEditingDone -and OnChange event handlers (when assigned). Click calls the -inherited method prior to exit. +calls the DoOnChange method which signals the +OnEditingDone and OnChange event handlers (when +assigned). Click calls the inherited method prior to exit.
-Click is used when messages are handled in the control and -csClickEvents is not used in the ControlStyle property. +Click is called when the LM_CLICKED message is handled for the control. It +occurs when click events are not enabled in ControlStyle and +ControlState.
+ClicksDisabled is a Boolean property which controls +whether the Click method is called when a the Checked property is changed in +the control. +
++The TCustomCheckBox descendant uses ClicksDisabled in its DoClickOnChange +method; when set to False, the Click method is called to signal both the +OnChange and OnClick handlers for the control. When set to True, only the +OnChange event handler is signalled. This emulates the Delphi OnClick +behavior. +
++ClicksDisabled is also used to prevent calling Click when the Checked +property in a linked button action is updated. +
++OnChange is signalled from the DoOnChange method, and occurs when +the Click method is called for the class instance. It is signalled after the +OnEditingDone event handler. The Sender argument contains the current button +control class instance (Self). +
++The OnClick event handler can also be used for the notification when +ClicksDisabled is set to False. +
+-Click is an overridden method in TCustomCheckBox, and -ignores mouse up event notifications. It does not call the inherited method; -the click action is performed in the DoClickOnChange method when the -inherited ClicksDisabled property is False. +Click is an overridden method in TCustomCheckBox. It +ignores mouse up event notifications, and does not call the inherited method. +The click action is performed either in the DoClickOnChange method when the +ClicksDisabled property is False, or when the LM_CLICKED message is +handled for the control and click events are not enabled in ControlStyle and +ControlState.
DoClickOnChange is a procedure used to signal event handler(s) -when the LC_CHANGED message is handled for the control. +when the LM_CHANGED message is handled for the control. DoClickOnChange calls the Changed method to dispatch the control message.
@@ -11374,6 +11430,7 @@ meanings in the State property.No actions are performed in the method if Parent has not been -assigned (contains Nil), or when a handle has not been allocated in the -Parent control. +assigned (contains Nil), or when a handle has not been allocated in +the Parent control.
-Please note: CalculatePreferredSize does not call the inherited method. +Please note that CalculatePreferredSize does not call the inherited +method.
However, if you create the component yourself by code, and don't specify an -Owner for it (Create(Nil)), you are responsible for freeing the component -when it is no longer needed. You better construct it with Create(Self), where -Self means the containing Form or Parent control. +Owner for it (Create(Nil)), you are responsible for freeing the +component when it is no longer needed. You should construct it with +Create(Self), where Self means the containing Form or Parent control.
A control also must have a Parent control, maybe the Form, so that it can