InputFieldBackColor – PB Docs 126

InputFieldBackColor property for PowerScript controls


RichTextEdit controls


The InputFieldBackColor property sets the color for the background
of input fields in the RichTextEdit control. This item can also
be selected by the user at runtime from the Properties item of the
pop-up menu.


In a painter

proc.png To set the background color of input fields:

  1. Select the desired color from the Background
    Field Color drop-down list on the Document page of the control’s
    Properties view.

    To add your own colors to the color drop-down list, select
    Design>Custom Colors before displaying the Properties view.

In scripts

The InputFieldBackColor property takes a long (-2 to 16,777,215)
that defines the background color for input fields. The value is
a combination of values for the red, green, and blue components
of the color. 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.

This statement makes the input fields red.

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x