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
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.

Group
Links

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