An object of class AppTheme that is automatically created when you start dBASE Plus.

 

Syntax

_app.theme = 0

 

Properties

The following tables list the properties, events and methods of the _app object.

Property

Default

Description

baseClassName

APPTHEME

Identifies the object as an instance of the dBASE Plus _app.theme

className

APPTHEME

Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName

themeType

0

Sets current application wide theme for dBASE. Options are: 0 - System, 1 - Studio1, 2 - Studio2, 3 - Office1 Flat, 4 - Office2 Blue, 5 - Office3 Luna, 6 - Office3 Aqua, 7 - Office3 Black, 8 Office3 - Silver

 

Description

_app.theme provides control over the current application theme. The themeType property can be used to determine the current application theme or to set it. The value for themeType at dBASE startup is either 0 - System if there is no setting for it in the plus.ini or application .ini file or is set to match the .ini file setting. The .ini file setting is located in section [AppTheme] and is set using the Type keyword, for example:

[AppTheme]

Type=1

 

NOTE _app.theme might also show a dockMode property in the inspector. However dockMode is not used for any purpose and so will probably be removed soon.