When PowerBuilder initially generates the basic DataWindow object, it uses the following attributes and fonts:
For the text and alignment of column headings and labels, PowerBuilder uses the extended column attributes made in the Database painter.
For fonts, PowerBuilder uses the definitions made in the Database painter for the table. If you did not specify fonts for the table, PowerBuilder uses the defaults set in the Application painter.
You can override any of these defaults in a particular DataWindow object.
To change text in a DataWindow object:
Select the text.
The first box in the StyleBar is now active.
Type the new text.
Use ~n~r
to embed a newline
character in the text.
To change the text properties for a text control in a DataWindow object:
Select the text control.
Do one of the following:
Change the text properties in the StyleBar.
Select the Font page in the control’s Properties view and change the properties there.