Changing the DataWindow object style

The general style properties for a DataWindow object include:

PowerBuilder assigns defaults when it generates the basic DataWindow object. You can change the defaults.

StepsTo change the default style properties:

  1. 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.

  2. 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

  3. 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.)

  4. 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.

  5. On the Background page, select a background color from the Color drop-down list. The default color is the window background color.