psTheme - cWebApp

The user interface theme used by the web application

Type: Property (Web Property)

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 { WebProperty=Client }
 Property String psTheme

Web Property Read Access: WebGet psTheme to StringVariable
Web Property Write Access: WebSet psTheme to StringVariable/Value

Read Access: Get psTheme to StringVariable
Write Access: Set psTheme to StringVariable/Value


Description

You can control your web application's overall appearance by selecting a theme. Set psTheme to the name of the theme you want to apply to your web application.

This actually determines from which theme folder the Cascading Style Sheets (CSS) file theme.css is included. The theme folders are located under the workspace's AppHtml folder in CssThemes\ThemeFolderName.

Set psTheme to "df_Modern_Sky"


The themes are defined in CSS, you can choose one of the themes already provided with the Web Framework or create your own theme. See Styling Web Applications for more information.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.