Navigation:  Reference > Functions >


Print this Topic Previous pageReturn to chapter overviewNext page





Skins are a way to quickly change the entire look of your program by providing a new graphical representation of your screen objects.

Use this function to change the skins on your program.




1 f/c/eRequired - This is the name of the skin you want to change to.



If the skin file is found the program will change skin and the function will return .T., if not, it will return .F.



If you use this function and you are running an application with more then one program this command will apply this skin to all of your programs that are using that runtime.


Note: Skins and XP Theme are two deferent concepts with skins you would only change your programs look.  with XPtheme you would change the entire look of your computer operating system. Skins is independent of the OP system and will take over the look of your program no matter what theme your using.


Note: If you set the TAG value in any object on your screen this will turn off skining for this one obkect or any object that has a tag value of 99.


See Also: Skins



Let's say you wanted to change skin in your programs when a user clicks on  button.


your screen before change_skin()


Normal XP Screen

  define skin type L

   skin = Change_skin('C:\TAS7\skins\mxskin28.skn')



//or to return to normal windows or XPtheme.

   skin = Change_skin('')

// you must pass this function at least a null string or the function will do nothing.



your screen and programs after the user click the


Very cool!!!




Page url: