Anzeigen: Delphi C++
Anzeigeeinstellungen

Vcl.ExtCtrls.TColorBoxStyle

Aus XE2 API Documentation
Wechseln zu: Navigation, Suche

Delphi

type TColorBoxStyle = set of TColorBoxStyles;

C++

typedef System::Set<TColorBoxStyles, TColorBoxStyles::cbStandardColors, TColorBoxStyles::cbCustomColors>  TColorBoxStyle;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
set
typedef
public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls

Beschreibung

TColorBoxStyle und TColorBoxStyles geben an, wie die Auswahlmöglichkeiten in einem Farbfeld angezeigt werden.

TColorBoxStyles ist eine Menge von TColorBoxStyle-Werten. TColorBoxStyles kann folgende Werte annehmen:



Style Bedeutung

cbStandardColors

Das Kombinationsfeld enthält die ersten 16 Farbkonstanten der Unit Graphics. Diese Konstanten (z.B. clRed oder clBlack) stehen für unveränderliche RGB-Werte.

cbExtendedColors

Das Kombinationsfeld enthält die Farben clMoneyGreen, clSkyBlue, clCream und clMedGray.

cbSystemColors

Das Kombinationsfeld enthält die symbolischen Farbkonstanten der Windows-Systemsteuerung.

cbIncludeNone

Das Kombinationsfeld enthält den Wert clNone. Diese Option ist nur wirksam, wenn Style auch cbSystemColors enthält.

cbIncludeDefault

Das Kombinationsfeld enthält den Wert clNone. Diese Option ist nur wirksam, wenn Style auch cbSystemColors enthält.

cbCustomColor

Der erste Eintrag im Kombinationsfeld steht für eine benutzerdefinierte Farbe. Wenn der Benutzer diesen Eintrag wählt, kann er in einem Farbauswahldialog selbst eine Farbe definieren.

cbPrettyNames

Das Kombinationsfeld enthält die Farben als Namen und nicht als Farbkonstanten (z. B. Schwarz statt clBlack).

Frühere Versionen
Übersetzungen