Home
Skin Engine Online Help Prev Page Prev Page
Introduction
Version History
License
Overview
Order Information
Order
Technical Support
Contact
Technical Support
Usage
Getting Started
Install
Available skins
LoadSkinFromFile
LoadSkinFromRes
LoadSkinFromData
DisableSkinEngine
ApplySkinEngine
InitSkinEngine
FreeSkinEngine
ProvideLicenseKey
SkinEngine Help
Topics
Topics
Topic Description
Getting Started First you must correct install SkinEngine.

For more information on the methods used, see the function reference in Usage root.

This is a typical usage of SkinEngine:

Install  
Available skins SkinEngine allows you to use the following kinds of skins:
LoadSkinFromFile This function loads a skin from a file and returns the successor object of TTeSkin class in case if everything has passed successfully or nil if the skin cannot be loaded. LoadSkinFromFile can load all available for SkinEngine skins, whether they are SkinEngine or MS Visual Styles skins.

The name of the skin's file is transferred as a parameter, it must contain the full path and the extension to the file as 'c:\skins\xp_blue.skin'. Besides, this function supports the alternative recording of the path the '\skins\xp_blue.skin' kind, in that case the function will make the substitution of the path from which the application is run. For example, if your application is located in the 'c:\myprogram' catalogue, '\skins\xp_blue.skin' will be transformed into 'c:\myprogram\skins\xp_blue.skin'. In other words you won't have to calculate the full path to the skin every time.

More preferable method of skin loading is the use of the SkinEngine component and SkinFile properties.

LoadSkinFromRes This function loads a skin from a resource (RC_DATA) and returns the successor object of TTeSkin class in case if everything has passed successfully or nil if the skin cannot be loaded. LoadSkinFromRes can load all available for SkinEngine skins, whether they are SkinEngine or MS Visual Styles skins.
LoadSkinFromData Function LoadSkinFromData loads from the memory pointer.
DisableSkinEngine This function unloads the active skin from the memory and initiates the process of the application updating. When the process is over SkinEngine goes into the NoSkin mode.
ApplySkinEngine This function start skinning of all available window and controls.
InitSkinEngine Initializes the skin engine. This function initialize the skin engine and has to be called before any other SkinEngine's functions.
FreeSkinEngine The FreeSkinEngine function frees memory in use by SkinEngine and all loaded skins. And also this function call DisableSkinEngine internaly if this function not called jet.
ProvideLicenseKey Provide registration key to SkinEngine. If the key is invalid or not provided, SkinEngine will show trial version nag-screen. This function must call before any other SkinEngine calls.

Copyright (c) KSDev. All rights reserved.
The CHM file was converted to HTML by chm2web software.