TrvActionCustomColor.UserInterface

<< Click to display table of contents >>

TrvActionCustomColor.UserInterface

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 GetControlPanel.ColorDialog, if assigned. Otherwise it creates a temporal color dialog.

In rvacAdvanced mode, GetControlPanel.OnGetActionControlCoords may be used to position a color-picker window.

Default value:

rvacAdvanced