COLORFIELD

Definition

COLORFIELD [id]
{
  [Flags]
}

Description

Color fields let the user choose a color using the standard Cinema 4D control as well as the operating system dialog.
Use GeDialog::GetColorField() and GeDialog::SetColorField() to access the color.

Note
The color sliders and brightness slider can be removed with the flags, so that only a colored rectangle is left. This is useful for compact layouts.

Flags

See Dialog Resource for a description of the common flags.

FlagExplanation
[LAYOUTFLAGS]Layout flags.
NOBRIGHTNESSRemove the brightness control.
NOCOLORDisable the color controls.

Example

COLORFIELD IDC_COLOR { }

Further Reading