From RAD Studio API Documentation
Jump to: navigation, search


property Dialog: TColorDialog read GetDialog;


__property Vcl::Dialogs::TColorDialog* Dialog = {read=GetDialog};


Type Visibility Source Unit Parent
property published
Vcl.StdActns TColorSelect


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.

See Also