Procedure ApplySkin
Call: | Send ApplySkin |
ApplySkin skins your application based on values of psSkinFile and psSkinIni. This is used to dynamically apply a new skin. Typically this occurs when psSkinFile and psSkinIni are set outside of the skin object.
Procedure SetANewSkin String sFile String sIni Set psSkinFile of ghoSkinFramework to sFile Set psSkinIni of ghoSkinFramework to sIni Send ApplySkin of ghoSkinFramework End_procedure
The ghoSkinFramework variable is a global handle to your skin object. This can be used to access the skin object from within other objects.
A list of all available skins and skin sections can be obtained by calling the EnumerateSkins method.
When psSkinFile and psSkinIni are set as part of the object definition, the skin is applied automatically and there is no need to call ApplySkin.
Object oSkin is a cCJSkinFramework Set psSkinFile to "WinXP.Luna.cjstyles" Set psSkinIni to "NormalHomeStead.ini" End_Object