diff --git a/docs/xml/lcl/colorbox.xml b/docs/xml/lcl/colorbox.xml index 3a77a36261..4a242f6d61 100644 --- a/docs/xml/lcl/colorbox.xml +++ b/docs/xml/lcl/colorbox.xml @@ -396,13 +396,19 @@ DoAutoAdjustLayout is called from the AutoAdjustLayout method. - + +Layout adjustment policy applied in the method. + - + +Horizontal scaling factor for the layout policy. + - + +Vertical scaling factor for the layout policy. + @@ -421,11 +427,39 @@ setting a new value in Style. It is called if - - - + + +Performs actions needed when the drop-down list for the control is closed. + + +

+CloseUp is an overridden method in TCustomColorBox. It +extends the inherited method to select a custom color using TColorDialog when +enabled in the Style for the control and selected in the drop-down list. +

+

+PickCustomColor is called to select the custom color, or cancel the +operation. The TColor value selected in PickCustomColor is assigned to both +Colors and the Selected property if the dialog was not cancelled. +

+

+CloseUp calls the inherited method prior to exit to signal the OnEditingDone +and OnCloseUp event handlers. +

+

+CloseUp is called when a CN_Command message with a CBN_CLOSEUP notification +code is handed for the control. +

+
+ + + +TColorDialog TCustomComboBox.CloseUp +TCustomComboBox.OnCloseUp +TCustomComboBox.DroppedDown +TComboBox.OnEditingDone
@@ -433,8 +467,8 @@ setting a new value in Style. It is called if Selects a custom color using a color dialog.

-PickCustomColor is a Boolean function used to select a custom color rather -than one of the standard colors in the Colors property. +PickCustomColor is a Boolean function used to select a +custom color rather than one of the standard colors in the Colors property.

PickCustomColor is used when cbCustomColor is included in the Style for the @@ -1216,7 +1250,6 @@ TCustomListBox.DoAutoAdjustLayout Vertical scaling factor for the policy. -