Vcl.StdActns.TColorSelect
![TColorSelect](/images/Libraries/Athens/e/4/46/Vcl.StdActns.TColorSelect.png)
Delphi
TColorSelect = class(TCommonDialogAction)
C++
class PASCALIMPLEMENTATION TColorSelect : public TCommonDialogAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | Vcl.StdActns |
Description
TColorSelect is the standard action for displaying a color selection dialog.
Add TColorSelect to an action list to add a modal color selection dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display the color selection dialog when invoked. Use the OnAccept event to respond after the user selects a color using the dialog or the OnCancel event to respond if the user cancels from the dialog. In the event handler for these events, you can read the color from the dialog specified by the Dialog property.