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.