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

FillColor – PB Docs 2018 – PowerBuilder Library

FillColor – PB Docs 2018

FillColor

property for PowerScript controls

Applies to

Oval, Rectangle, RoundRectangle controls

Description

The FillColor property defines the color used to fill the control.
When you are defining the background color in a painter, some of the
choices take their values from the current Windows color scheme or from
custom colors.

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

Usage

In a painter

To set the fill color:

  • Select the desired color from the Fill Color drop-down list on
    the General page of the control’s Properties view.

In scripts

The FillColor property takes a long value (-2 to 16,777,215) that
specifies the numerical value of the background color of windows and other
objects. The FillColor 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 example specifies yellow as the fill color for the
RoundRectangle rr_display:


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