VTextAlign
property (DataWindow object)
Description
The way text in a button is vertically aligned.
Applies to
Button controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.buttonname.VTextAlign |
Describe and Modify argument:
|
1 |
"buttonname.VTextAlign { = 'value ' }" |
|
Parameter |
Description |
|---|---|
|
buttonname |
The name of the button for which you want to align |
|
value |
An integer indicating how the button text is Values are: 0 — 1 — Top 2 — 3 — Multiline |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab, Vertical Alignment option.
Examples
|
1 2 3 4 |
string setting dw1.Object.b_name.VTextAlign = "0" setting = dw1.Describe("b_name.VTextAlign") dw1.Modify("b_name.VTextAlign ='0'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest