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

Specifying default text properties – PB Docs 2021 – PowerBuilder Library

Specifying default text properties – PB Docs 2021

Specifying default text properties

You probably want to establish a standard look for the text in
your application. There are four kinds of text whose properties you
can specify in the Application painter: text, header, column, and
label.

PowerBuilder provides default settings for the font, size, and
style for each of these and a default color for text and the
background. You can change these settings for an application in the
Application painter and override the settings for a window, user
object, or DataWindow object.

Properties set in the Database painter override application
properties

If extended attributes have been set for a database column in
the Database painter or Table painter, those font specifications
override the fonts specified in the Application painter.

To change the text defaults for an application:

  1. In the Properties view, click Additional Properties and
    select one of the following:

    • Text Font tab

    • Header Font tab

    • Column Font tab

    • Label Font tab

    The tab you choose displays the current settings for the
    font, size, style, and color. The text in the Sample box
    illustrates text with the current settings.

  2. Review the settings and make any necessary changes:

    • To change the font, select a font from the Font
      list.

    • To change the size, select a size from the Size list or
      type a valid size in the list.

    • To change the style, select a style (Regular, Italic,
      Bold, or Bold Italic) from the Font styles list.

    • To change font effects, select one or more from the
      Effects group box (Strikeout and Underline).

    • To change the text color, select a color from the Text
      Color list. (You do not specify colors for data, headings, and
      labels here; instead, you do that in the DataWindow
      painter.)

    • To change the background color, select a color from the
      Background list.

    Using custom colors

    When specifying a text color, you can choose a custom
    color. You can define custom colors in several painters,
    including the Window painter or DataWindow painter.

  3. When you have made all the changes, click OK.


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