Vcl.StdActns.TColorSelect.Dialog
Delphi
property Dialog: TColorDialog read GetDialog;
C++
__property Vcl::Dialogs::TColorDialog* Dialog = {read=GetDialog};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TColorSelect |
Description
Provides access the color selection dialog that the action executes.
Use Dialog to configure the color selection dialog before the action fires or to read the selected color after the action executes the dialog. For example, you can set the initially selected color in the dialog at design time using the Object Inspector or read the dialog's Color property in an OnAccept event handler to make use of the selected color.
When using a color select action, you do not place a TColorDialog component on the form or data module at design time. Instead, you add the TColorSelect to your action list and then use the Dialog property. The color selection dialog component is created by the TColorSelect constructor.