TSRVTabSetSkinScheme |
Top Previous Next |
|
TSRVTabSetSkinScheme is a class defining a visual appearance of tab sets. This is a class of items in the following collections: •TSRVSkinManager.Skins[i].HorizontalTabSetSchemes; •TSRVSkinManager.Skins[i].VerticalTabSetSchemes. Unit SRVSkinManager. Syntax TSRVTabSetSkinScheme = class(TCollectionItem) HierarchyTObject TPersistent TCollectionItem PropertiesName: String – a name of this scheme. This text is displayed at design time when editing collections. FntTab: Integer specifies the index in the TSRVSkinManager.Skins[i].Fonts collection. It defines the font for text in the tab. If you use a vertical tab, this font must be a TrueType/OpenType. The default value is -1. Other properties define indices in TSRVSkinManager.Skins[i].Elements collection. All these properties are Integers, their default value is -1. Buttons on the tab set: •ImgDecButton for the button to scroll to the beginning; •ImgIncButton for the button to scroll to the end; •ImgAddTabButton for the button for adding a new tab. Tab: •ImgTabBegin for the left/top side of tab; •ImgTabEnd for the right/bottom side of tab; •ImgTabBackground for the tab background; •ImgCloseButton for a button for closing the tab. Border (the border is drawn above all other parts): •ImgBorderBegin for the left/top side of the control border; •ImgBorderEnd for the right/bottom side of the control border; •ImgBorderBackground for the middle part of the control border (since the border is drawn after all other content, this image must have a transparent area in the middle). Background: •ImgBackgroundBegin for the left/top side of the control background; •ImgBackgroundEnd for the right/bottom side of the control background; •ImgBackgroundCenter for the middle part of the control background. Example
|