When PowerBuilder generates a basic DataWindow object from a presentation style and data source, it places columns and their headings in the DataWindow painter. You can add text anywhere you want to make the DataWindow object easier to understand.
To add text to a DataWindow object:
Select Insert>Control>Text from the menu bar.
Click where you want the text.
PowerBuilder places the text control in the Design view and
displays the word text
.
Type the text you want.
(Optional) Change the font, size, style, and alignment for the text using the StyleBar.
Displaying an ampersand character If you want to display an ampersand character, type a double ampersand in the Text field. A single ampersand causes the next character to display with an underscore because it is used to indicate accelerator keys.
When you place text in a DataWindow object, PowerBuilder uses the font and style (such as boldface) defined for the application's text in the Application painter. You can override the text properties for any text in a DataWindow object.
For more about changing the application's default text font and style, see Chapter 5, “Working with Targets.”