SetTheme                                                                                                Function

 

SIGN(themeName as String)

 

Description

Changes the color theme of objects and background. themeName must be included as a resource in the project. If successful, it returns 0, an error code otherwise. A number of themes are included with NS Basic/Symbian OS in the Themes directory. Themes can be created and edited using the Theme Editor (see 04.J).

 

Example

Dim result as Integer

Result=SetTheme("Classic") 'colors of objects and backgrounds will change