CommonSections property |
Applies to
TsSkinManager
Declaration
property CommonSections: TStringList;
Description
Use this property for defining an additional sections that will be common for all used skins. This is very easy and powerful way to increasing of a skinned controls kinds. Sections must have format equal format of skins.
--------------------------------------------------------------------
For sample we can created section for control or control item, which will be always transparent :
[TRANSPARENTITEM]
TRANSPARENCY = 100
HOTTRANSPARENCY = 100
After creation of such section is possible to use "TRANSPARENTITEM" name in a most controls in the SkinSection properties.
--------------------------------------------------------------------
Other example (button from skin, which always transparent in the normal state and have a red font color in all states) :
[TRANSREDBTN]
PARENTNAME = BUTTON
TRANSPARENCY = 100
FONTCOLOR = 255
HOTFONTCOLOR = 255