 |
Symbol Reference |
 |
Classes |
 |
Functions |
|
|
It is the basic theme-operating component. It used for loading, switching-over, disconnecting, changing of the brightness and the contrast of a theme. The TTeThemeEngine component is necessary only in one copy for all applications, you can put it on the main form or the TDataModule form. At the same time it is possible to use only one of the ThemeBuilding, ThemeFile or ThemeIndex property for switching-over. Using TTeThemeEngine both in the performing and in the designing modes you can:
- load themes from files, streams or the TTeThemeList object
- switch themes on the built-in ones or disconnect themes in general
- change the brightness or/and the contrast of the active theme
- process events at the change of the current theme
Members
Properties
|
Property |
Description |
|
DeltaBrightness |
The property sets the values of change of theme brightness. Using the DeltaHue and the DeltaBrightness properties it is possible to receive many of various themes from one source. The values can be from-50 up to +50. The changing of the property results in the immediate changes of the theme and repainting of all its components. If at loading of the theme its values are not equal to the default values, the changes are made with the loaded theme. |
|
DeltaHue |
Property sets the values of changing of the theme contrast. Using the DeltaHue and the DeltaBrightness properties it is possible to receive many various themes from one source. The values can be from 0 up to 255. The changing of the property results in the immediate changes of the theme and repainting of all its components. If at loading of the theme its values are not equal to the default values, the changes are made with the loaded theme. |
|
OnThemeChanged |
The event is caused at the activation of the theme, the changing of the active theme, switching off the themes. |
|
ThemeBuilding |
String property switching-over the built-in themes. In the designing mode it shows all available built-in themes in the dropdown list. In the performing mode the assignment of the value by the text line such as string is possible. |
|
ThemeFile |
Specifies a file of the theme which will be immediately loaded or be loaded at the start of the application. The filename must be specified with the extension. |
|
ThemeIndex |
Contains the theme number from the TTeThemeList object which will be immediately activezed or loaded at the start of the application. The ThemeList property must be set, and the TTeThemeList component must contain at least one theme, otherwise at the change of this property it is automatically set as -1. |
|
ThemeList |
Specifies the TTeThemeList component used for loading of the theme and switching-over by changing ThemeIndex property. |
Legend
Properties
|
Property |
Description |
|
DeltaBrightness |
The property sets the values of change of theme brightness. Using the DeltaHue and the DeltaBrightness properties it is possible to receive many of various themes from one source. The values can be from-50 up to +50. The changing of the property results in the immediate changes of the theme and repainting of all its components. If at loading of the theme its values are not equal to the default values, the changes are made with the loaded theme. |
|
DeltaHue |
Property sets the values of changing of the theme contrast. Using the DeltaHue and the DeltaBrightness properties it is possible to receive many various themes from one source. The values can be from 0 up to 255. The changing of the property results in the immediate changes of the theme and repainting of all its components. If at loading of the theme its values are not equal to the default values, the changes are made with the loaded theme. |
|
OnThemeChanged |
The event is caused at the activation of the theme, the changing of the active theme, switching off the themes. |
|
ThemeBuilding |
String property switching-over the built-in themes. In the designing mode it shows all available built-in themes in the dropdown list. In the performing mode the assignment of the value by the text line such as string is possible. |
|
ThemeFile |
Specifies a file of the theme which will be immediately loaded or be loaded at the start of the application. The filename must be specified with the extension. |
|
ThemeIndex |
Contains the theme number from the TTeThemeList object which will be immediately activezed or loaded at the start of the application. The ThemeList property must be set, and the TTeThemeList component must contain at least one theme, otherwise at the change of this property it is automatically set as -1. |
|
ThemeList |
Specifies the TTeThemeList component used for loading of the theme and switching-over by changing ThemeIndex property. |
Legend
Declaration
TTeThemeEngine = class(TComponent)
Class Hierarchy
TComponent
TTeThemeEngine
File
Links
|
Copyright (c) 1997-2006. All rights reserved.
| |
|
|