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

TextColor – PB Docs 2018 – PowerBuilder Library

TextColor – PB Docs 2018

TextColor

property for PowerScript controls

Applies to

Controls and objects that display text

Description

The TextColor property specifies the color to be used for text in
the control.

For the MonthCalendar control, TextColor is the color used to
display text within a month.

Usage

This property does not work in MonthCalendar controls on the Windows
7/8.1/10 operating system.

In a painter

To set the text color for most controls:

  • Select the desired color from the TextColor drop-down list on
    the Font tab page for the control.

To set the text color for graph objects and MonthCalendar
controls:

  • Select the desired color from the TextColor drop-down list on
    the General page of the Properties view.

To set the text color for text objects within graphs:

  1. Select the Text tab page from the graph’s Properties
    view.

  2. Select the desired text object from TextObject drop-down
    list.

  3. Select a color from the TextColor drop-down list.

In scripts

The TextColor property is a long indicating the color to be used for
the background for an object. If you do not know the long value for the
color, choose Design>Custom Colors to determine the red, green, and
blue values and then call the RGB function to specify the color in a
script.

In graphs, the TextColor property is a property of the graph object
as well as of grDistAttr objects within the graph. For example, the
following line sets text color for all the text objects in the Series
Axis:


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