Adding text to a DataWindow object

When PocketBuilder generates a basic DataWindow object from a presentation style and data source, it places columns and their headings in the workspace. You can add text anywhere you want in order to make the DataWindow object easier to understand.

StepsTo add text to a DataWindow object:

  1. Select Insert>Control>Text from the menu bar.

  2. Click where you want the text.

    PocketBuilder places the text control in the Design view and displays the word text.

  3. Type the text you want.

  4. (Optional) Change the font, size, style, and alignment for the text using the StyleBar.

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

About the default font and style

When you place text in a DataWindow object, PocketBuilder 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 3, “Working with PowerScript Targets.”