Updated: Dec 16, 2023
Follow on twitter

Excluding of some custom components from a skinning process.

Any control may be excluded from skinning and several ways exists for this purpose:

  • Easiest way for excluding of standard or thirdparty control - using the Tag property.This property is checked for a value of 8th bit. If this bit is 1 (Tag = $100 or 256), then control will not be skinned. All other bits may be used by developer for other purposes.
  • Standard or third-party controls may be excluded from skinning also if handled the TsSkinProvider.OnSkinItem event. Developer must check the "Item" parameter. If this component shouldn't be skinned then "CanBeAdded" parameter must be False.
    The TsSkinProvider.OnSkinItemEx event doing same work but with more possibilities. Developer can control used colors and sizes of scrolls there.
  • Components from the AlphaControls package will not be skinned if the SkinData.SkinSection property contains an unexisting value ('N/A' for example).





Installing, using and licensing the demo programs © Sergii Goncharov, Ukraine, Odessa 2004-2023