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

Alignment – PB Docs 2022 – PowerBuilder Library

Alignment – PB Docs 2022

Alignment

property (DataWindow object)

Description

The alignment of the control’s text within its borders.

Applies to

Column, Computed Field, and Text controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

SyntaxFromSql:

Parameter

Description

controlname

The name of the control for which you want to get
or set the alignment.

alignmentvalue

(exp) A number specifying the type of alignment for
the text of controlname. Alignmentvalue can be a quoted
DataWindow expression.

Values are:

0 —
(Default) Left

1 — Right

2 —
Center

3 — Justified

When generating
DataWindow syntax with SyntaxFromSql, the setting for Alignment
applies to all text controls used as column
labels.

Usage

When you select justified, the last line of text is not stretched
to fill the line. Controls with only one line of text look left
aligned.

In the painter

Select the control and set the value using:

  • Properties view, General tab

  • StyleBar

Examples


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