LineColor – PB Docs 150

LineColor property for PowerScript controls

Controls

Line, Oval, Rectangle, RoundRectangle controls

Description

The line color is the color for the border and the lines in
the control’s fill pattern.

Usage

In a painter

proc.png To change the line color:

  1. Select a color from the Line Color drop-down
    list on the General page of the control’s property sheet,
    or select a color from the Background Color option on the Style
    Bar.

Using the StyleBar lets you change the line color for several
selected objects at the same time. To add your own colors to the
color drop-down list, select Design>Custom Colors before
opening the Properties view.

In scripts

The LineColor property takes a long value. 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.

The following statement specifies red as the line color for
a Rectangle:


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