Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Adding text to a DataWindow object – PB Docs 126 – PowerBuilder Library

Adding text to a DataWindow object – PB Docs 126

Adding text to a DataWindow object

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.

proc.png To add text to a DataWindow object:

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

  2. Click where you want the text.

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

note.png 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.

About the default font and style

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x