[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed when the drop-down list for the control is closed.
Source position: colorbox.pas line 77
protected procedure TCustomColorBox.CloseUp; override; |
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.
|
Selects a custom color using a color dialog. |
|
|
The TColor value for the selected item in the combo-box control. |
|
|
Provides indexed access to the TColor value for items in the control. |
|
|
Implements a dialog used to select a TColor value. |
|
|
Called when the drop-down list is closed. |
|
|
Handler invoked when the drop-down list closes. |
|
|
Indicates whether the drop-down list has been displayed. |
|
|
Event handler signalled when editing is completed for the control. |
Version 4.0 | Generated 2025-05-03 | Home |