TsSkinManager Component
Properties Events

TsSkinManager is a component for manipulations with application skins in the design-time and real-time.

Unit
sSkinManager

Declaration
TsSkinManager = class(TComponent)

Hierarchy
TComponent <--TsSkinManager

Subclasses
None

Description
Use this component if you want to provide AlphaSkins possibilities in your applications. To use this component just put it to the main form of application and choose skin by SkinDirectory and SkinName properties.
Also you can define list of internal skins in the property InternalSkins. Skin placing within the Exe-file simplifies the program expansion, there is no need to create a directory with skins and copy them into it. Built-in skins are always available in the program.
After definition this skins will be exposed in the popup-list of available skins too.
Note
If TsSkinManager is not active or if SkinName is not be assigned, then all controls from package will be drawn with default kinds.


Introduced Properties
Active Specifies whether or not a SkinManager is active.
AnimEffects Property allows to control the animation effects in applications.
Brightness The property allows to change a brightness of current skin in run-time.
ButtonsOptions The property contains some options for changing of buttons behaviour in all application.
CommonSections Contains additional SkinSections, defined by programmer.
Effects Contains setting of special effects which available in the component.
ExtendedBorders Property allows to use additional form borders which are based on the layered windows technology.
Fonts Allows to specify a main font of the current skin and mode of fonts using.
HueOffset Property allows to change a color palette of the current skin
InternalSkins InternalSkins property is a collection of internal skins, that may be defined in design-time in Delphi IDE and will be embedded into Exe-file.
IsDefault Property defines current manager as default manager for application.
KeyList Property may be used for storing of private keys for registered skins.
LabelsOptions Contains options for configuring of Labels output.
MenuSupport Propertiy for controlling of skinned menus kind in application.
OnActivate Event occurs when current skin is loaded and activated.
OnAfterChange Event occurs when current skin is changed.
OnBeforeChange Event occurs before changing of current skin.
OnDeactivate Event occurs when current skin is deactivated.
OnFontChanged Event occurs when the MainFont property is changed.
OnScaleChanged Event occurs after changing of the application scaling.
OnScaleModeChange Event occurs after changing of mode of application scaling (Options.ScaleMode property).
OnSkinChanging The event occurs before changing of skin and allows to cancel this changing.
OnSkinListChanged Occurs when a list of internal skins is changed and when SkinDirectory property is changed.
OnSkinLoading Occurs after a skin activation immediately.
Options Few new options for configuring of work of skins.
Saturation Property allows to change a saturation of the current skin
ScrollsOptions Allows configure a look of scrollbars entire application.
SkinDirectory Specifies the name of the directory which contains external skins.
SkinInfo Property contains version of the current skin.
SkinName Property used for current skin name definiton.
SkinnedPopups Specifies will or not a popup menus skinned.
SkinningRules Property allow to change a mode of the application skinning.
SkinsFilter Property allows to define a type of skins which will be available in the TsSkinSelect component, in the design-time editor and some other places.
ThirdParty Property contains classnames of standard and thirdparty controls which must have a support of skinning.
Version Property contains version number of the current installed package.

Introduced Events
OnGetMenuExtraLineData Called before a drawing of the popup menu, if MenuSupport.UseExtraLine property is active.
OnGetPopupItemData Occurs before drawing of the menu item in the skinned popup menu.
OnSysDlgInit Occurs when a system dialog is opened, and contains such parameters as window Handle and AllowSkinning.