![]() ULTIMATE Page Control Suite™ |
|
Ultimate Page Control Suite™ Win32 | Delphi™ | C++Builder™ |
|
D.02. TADVANCE_ColorScheme |
|
TPersistent TADVANCE_ColorScheme
Expanded node of the ColorScheme property in the Object Inspector™. |
|
ColorSchemes streamline the application of color across modules and page populations, and can synchronize color behavior in separate toolbar, related controls, and status modules.
|
|
CLBTNFACE COLOR SCHEMES |
acsBtnFace (default) |
acsBtnFaceVar |
|
ALTERNATE COLOR SCHEMES |
acsAltBaseColor |
acsAltBaseColorVar |
|
PROPERTIES |
|
property AltBaseModuleColor : TColor read FAltBaseModuleColor write SetAltBaseModuleColor;
AltBaseModuleColor is applied to the root module PageParent, Pages, and FocusControl™ when Scheme equals acsAltColor or acsAltColorVar.
property AltBaseModuleFontColor : TColor read FAltBaseModuleFontColor write SetAltBaseModuleFontColor;
AltBaseModuleFontColor is applied to the root module PageParent, Pages, and FocusControl™ fonts when Scheme equals acsAltColor or acsAltColorVar.
property AltEmbeddedModuleColor : TColor read FAltEmbeddedModuleColor write SetAltEmbeddedModuleColor;
AltEmbeddedModuleColor is applied to embedded module PageParents, Pages, and FocusControls™ when Scheme equals acsAltColor or acsAltColorVar.
property AltEmbeddedModuleFontColor : TColor read FAltEmbeddedModuleFontColor write SetAltEmbeddedModuleFontColor;
AltEmbeddedModuleFontColor is applied to embedded module PageParents, Pages, and FocusControl™ fonts when Scheme equals acsAltColor or acsAltColorVar.
property BtnFaceScheme_FocusControlFontColor : TColor read FBtnFaceScheme_FocusControlFontColor write SetBtnFaceScheme_FocusControlFontColor;
BtnFaceScheme_FocusControlFontColor is applied to FocusControl™ fonts when Scheme equals acsBtnFace or acsBtnFaceVar.
property BtnFaceScheme_PageFontColor : TColor read FBtnFaceScheme_PageFontColor write SetBtnFaceScheme_PageFontColor;
BtnFaceScheme_PageFontColor is applied to PageParent and Page fonts when Scheme equals acsBtnFace or acsBtnFaceVar. |
|
DELPHI EXAMPLE — SETTING COLORS WITH A COLOR DIALOG C++ EXAMPLE |
|
property Scheme : TADVANCE_ColorSchemeVal read FScheme write SetScheme default acsBtnFace;
TADVANCE_ColorSchemeVal = (acsBtnFace, acsBtnFaceVar, acsAltColor, acsAltColorVar);
The value of Scheme controls application of both the clBtnFace or Alt base color to the module, as well as the Variegated subscheme option. BtnFace schemes automatically respond to run time changes applied to the system color. To exclude fonts, pages or subcomponents from the scheme, set Color to a different value (which also sets ParentColor to false) or set ParentColor to false. |
|
DELPHI EXAMPLE — SETTING THE SCHEME FROM A COMBO BOX C++ EXAMPLE — SETTING THE SCHEME FROM A COMBO BOX |
|
property VarSubcomponentContrast : Integer read FVarSubcomponentContrast write SetVarSubcomponentContrast default 5;
VarSubcomponentContrast prescribes the contrast differential applied to adjacent modules and FocusControls™ when Scheme = acsBtnFaceVar or acsAltColorVar. The maximum value is 14 and the minimum is 1. |
|
DELPHI EXAMPLE — SETTING CONTRAST FROM A COMBO BOX C++ EXAMPLE — SETTING CONTRAST FROM A COMBO BOX |
|
• PRECEDING
|
|
|