HTextAlign – PB Docs 126

HTextAlign DataWindow object property

Description

The way text in a button is horizontally aligned.

Controls

Button controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

buttonname

The name of the button for which you
want to align text.

value

An integer indicating how the button
text is horizontally aligned.

Values are:

  • 0 – Center

  • 1 – Left

  • 2 – Right

Usage

In the painter

Select the control and set the value in the Properties view, General
tab, Horizontal Alignment option.

Examples


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