TSRVSkinElement

<< Click to display table of contents >>

TSRVSkinElement

TSRVSkinElement is a class defining properties for skinnable objects. Font properties are defined separately in TSRVSkinFont.

This is a class of items in the collection TSRVSkinManager.Skins[i].Elements.

Unit SRVSkinManager.

Syntax

TSRVSkinElement = class(TCollectionItem)

Hierarchy

TObject

TPersistent

TCollectionItem

Properties

Name: TRVUnicodeString – a caption of this item. This text is displayed at design time when editing TSRVSkinManager.Skins[i].Elements collection.

Color: TColor – a background color (usually used when images are not defined). Default value: clWhite.

TranparentColor – color of images that will be transparent when images are drawn. Used for Disabled, Normal, Hot, Down, Focused pictures, if they contain TBitmap. Default value: clNone (no bitmap transparency).

Disabled: TPicture – a picture used when the object is disabled.

Normal: TPicture – a picture used when the object is in a normal state.

Hot: TPicture – a picture used when the object is below the mouse pointer.

Down: TPicture – a picture used when the object is clicked.

Focused: TPicture – a picture used when the object is in a focused state.

Example

TSRVSkinElement