ShowBackColorOnXP

Description

Whether the background color that you select for a button displays on Windows XP.

Applies to

DataWindow objects

Syntax

Describe and Modify argument:

"DataWindow.ShowBackColorOnXP{ = value }"

Parameter

Description

value

A boolean value that indicates whether the background color that you select for a button displays on Windows XP.

Values are:

  • Yes – Display the background color.

  • No – Do not display the background color (default).

Usage

The Background.Color property is not supported for buttons on Windows XP by default because the current XP theme controls the appearance of the button.


In the painter

Set the Show Backcolor on XP property on the General tab of the Properties view for the DataWindow object. The background color you selected will display in Preview mode.

Examples

Example 1

dw1.Modify("DataWindow.ShowBackColorOnXP = yes")