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:

    NoteChoosing the unit of measure If you plan to print the contents of the DataWindow object at runtime, change the unit of measure to inches or centimeters to make it easier to specify the margin measurements.

  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. Select a background color from the Color drop-down list and click OK. The default color is the window background color.