separator separator

SkinToDraw (Property)

Returns or sets a value indicating the skin that will be applied to the form, acquiring the value recorded in the system registry when the Skin property is set to skAuto_ReadFromRegistry (0). This property is not available at design time.

Syntax

object.SkinToDraw [= value]

The SkinToDraw property syntax has these parts:

Part Description
object An object expression referencing to a vbSkinner object.
value A long setting indicating the skin to be shown, as described in Settings..

Settings

The settings for value are:

Value Description
skBlueSkin (1) Blue skin with rounded corners at the title bar and light gray in the form body.
skRedSkin (2) Red skin with rounded corners at the title bar and beige in the form body.
skGreenSkin (3) Green skin with rounded corners at the title bar and light gray in the form body.
skSquareBlueSkin (4) Blue skin with square corners at the title bar and light gray in the form body.
skDarkSkin (5) Blue skin with rounded corners at the title bar and bluish dark gray in the form body.
skCreateFromPicture (98) The skin to be shown will be obtained from the image of SkinPicture.
skCustomSkin (99) The skin will be taken from the selected settings of the TitleBarSkin, BodySkin, TitleBarForeColor and BodyForeColor properties.
 

Remarks
This property can be used to know what skin is applied when the Skin property is set to 0 (skAuto_ReadFromRegistry)

Note: When the user selects a skin with the Change skin dialog box, this property will indicate the setting 99 (skCustomSkin) in the case that the user had selected it from the manual set, if he had selected the skin from a skin file it will indicate 98 (skCreateFromPicture)

separator

See also: Skin (property)
vbSkinner control constants

separator

ActiveX controls for Visual Basic 6 - homevbSkinner help main page Beginning   Go back Back