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