Specifying application and Today item properties

You specify Application object and Today item properties in the Application painter’s Properties view. You can assign additional application properties in the Additional Properties dialog box that you open by clicking a button on the General tab page of the painter’s Properties view.

Table 3-4: Specifying properties of an application object

To specify this

Use this

DWMessageTitle property

General tab page

Properties for a custom Today item

Today Item tab page

Default font for static text as it appears in windows, user objects, and DataWindow objects

Text Font tab page of the Additional Properties dialog box

Default font for data retrieved in a DataWindow object

Column Font tab page of the Additional Properties dialog box

Default font for column headers in tabular and grid DataWindow objects

Header Font tab page of the Additional Properties dialog box

Default font for column labels in freeform DataWindow objects

Label Font tab page of the Additional Properties dialog box

Application icon

Icon tab page of the Additional Properties dialog box

Global objects for the application

Variable Types tab page of the Additional Properties dialog box

StepsTo specify application properties:

  1. In the Application painter, if the Properties view is not open, select View>Properties from the menu bar.

    The only modifiable property on the General tab page is DWMessageTitle, which specifies the title of the message box for any runtime DataWindow errors encountered in the application. If you change the value of this property in script, the new value will be recognized only for DataWindows created (or painted) after the new value is set.

  2. (Optional) Specify properties of a custom Today item on the Today Item tab page of the Properties view.

    For information about Today item properties, see “Application object properties for a custom Today item”.

  3. On the General tab page, click the Additional Properties button, and specify additional application properties in the Application properties dialog box.

    The additional properties on the Application properties dialog box can only be modified in this dialog box. They cannot be modified in scripts.

    These sections have information about how you specify the following application properties in the Application painter: