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

Supplying property values – PB Docs 2021 – PowerBuilder Library

Supplying property values – PB Docs 2021

Supplying property values

Each property has its own set of property values that you can use
to specify the true and false conditions in the If expression. Usually
you specify a number to indicate what you want. For example, if you are
working with the Border property, you use the number 0, 1, 2, 3, 4, 5,
or 6 to specify a border.

The following table summarizes the properties available. A
detailed description of each property follows the table. For a complete
list of properties for each control, see Objects and Controls.

Valid values of properties are shown in parentheses in the
Properties view wherever possible.

For example, the drop-down list showing border selections
includes the correct number for specifying each border in parentheses
after the name of the border (ShadowBox, Underline).

Property

Painter option in Properties view

Description

Background.Color

Background Color on Background page or Font
page

Background color of a control

Border

Border on General page

Border of a control

Brush.Color

Brush Color on General page

Color of a graphic control

Brush.Hatch

Brush Hatch on General page

Pattern used to fill a graphic
control

Color

Text Color on Font page; Color on General page;
Line Color on General page

Color of text for text controls, columns, and
computed fields; background color for the DataWindow object;
line color for graphs

Font.Escapement (for
rotating controls)

Escapement on Font page

Rotation of a control

Font.Height

Size on Font page

Height of text

Font.Italic

Italic on Font page

Use of italic font for text

Font.Strikethrough

Strikeout on Font page

Use of strikethrough for text

Font.Underline

Underline on Font page

Use of underlining for text

Font.Weight

Bold on Font page

Weight (for example, bold) of text
font

Format

Format on Format page

Display format for columns and computed
fields

Height

Height on Position page

Height of a control

Pen.Color

Pen Color on General page

Color of a line or the line surrounding a graphic
control

Pen.Style

Pen Style on General page

Style of a line or the line surrounding a graphic
control

Pen.Width

Pen Width on General page

Width of a line or the line surrounding a graphic
control

Pointer

Pointer on Pointer page

Image to be used for the pointer

Protect

Protect on General page

Whether a column can be edited

Timer_Interval

Timer Interval on General page

How often time fields are to be
updated

Visible

Visible on General page

Whether a control is visible

Width

Width on Position page

Width of a control

X

X on Position page

X position of a control

X1, X2

X1, X2 on Position page

X coordinates of either end of a
line

Y

Y on Position page

Y position of a control relative to the band in
which it is located

Y1, Y2

Y1, Y2 on Position page

Y coordinates of either end of a
line


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