[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Displays a Color dialog and captures its result.
Source position: dialogs.pp line 354
protected procedure TColorButton.ShowColorDialog; virtual; |
ShowColorDialog is a method used to display a TColorDialog and capture its result.
ShowColorDialog uses an existing dialog instance in ColorDialog when assigned. Otherwise, a new TColorDialog instance is created and temporarily stored in the property. The value in ButtonColor is used as the default color value in the dialog. The Execute method in the dialog is called to get the selected TColor value, and it is stored in the ButtonColor property.
|
The TColor value selected in the button control. |
|
|
The color selection dialog displayed when the control is clicked, or the ShowColorDialog method is called. |
|
|
Displays the dialog and captures the result. |
Version 4.0 | Generated 2025-05-03 | Home |