The way text in a button is vertically aligned.
Button controls
Describe and Modify argument:
"buttonname.VTextAlign { = ' value ' }"
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:
|
Select the control and set the value in the Properties view, General tab, Vertical Alignment option.
setting = dw1.Describe("b_name.VTextAlign")
dw1.Modify("b_name.VTextAlign ='0'")