TrvActionCustomColor.UserInterface

Top  Previous  Next

Defines the way how the user chooses a color.

type

  TrvaColorInterface = (rvacNone, rvacColorDialog, rvacAdvanced);

 

property UserInterface: TrvaColorInterface;

Value

Meaning

rvacNone

Color is not chosen by the user. When the action is executed, value specified in Color property is applied.

rvacColorDialog

Color is chosen using TColorDialog. Value of Color property before the execution is ignored. When the color is chosen, it is assigned to Color property.

rvacAdvanced

Color is chosen using a special popup color-picker window. Value of Color property before the execution is ignored. When the color is chosen, it is assigned to Color property.

This action uses TRVAControlPanel.ColorDialog, if assigned. Otherwise it creates a temporal color dialog.

Default value:

rvacAdvanced


RichView © Sergey Tkachenko