The general style properties for a DataWindow object include:
The unit of measure used in the DataWindow object
A timer interval for events in the DataWindow object
A background color for the DataWindow object
PowerBuilder assigns defaults when it generates the basic DataWindow object. You can change the defaults.
To change the default style properties:
Position the pointer in the background of the DataWindow object, display the pop-up menu, and select Properties.
The Properties view displays with the General page on top.
Click the unit of measure you want to use to specify distances when working with the DataWindow object:
PowerBuilder units (PBUs)Normalized units
Pixels (smallest element on the display monitor)
Thousandths of an inch
Thousandths of a centimeter
Specify the number of milliseconds you want between internal timer events in the DataWindow object.
This value determines how often PowerBuilder updates the time fields in the DataWindow object. (Enter 60,000 milliseconds to specify one minute.)
Select a background color from the Color drop-down list. The default color is the window background color.
If the DataWindow contains buttons, set the ShowBackColorOnXP property to make sure that the background color you select for the buttons displays on systems using the XP style.