Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Align my_text in the CENTER of the form?

srinivas1506
Level 8
Level 8

Hello

I put  a text field (say, its name is 'my_field' 80 characters length) WITH OUT caption and NONE appearence (not Solid box, no Sunken box).

And i am populating/filling this field with some value PROGRAMATICALLY. Pre-Populating value is vary in its lenght.

For example in 1st case,  i am pre-populating this my_field with 'AAAAAAAAAAAAA'

In some other case,  i am pre-populating this my_field with 'AAAA'

In some other case,  i am pre-populating this my_field with 'AAAAAAAAAAAAAAAAAAAAAAAAAAA'

Fine.

But i want print this text/value IN THE CENTER all the time / all cases, no matter How much lenghts's value i am populating, i mean, it shuld come CENTER in the micro soft word

Pls. let me know how to get this formatting as CENTER ALIGNMENT

Thank you

1 Accepted Solution
Steve_L_Walker
Correct answer by
Level 10
Level 10

As stated above, go to the Paragraph properties for the text object, click the chevron to select "Currently editing Value properties" and select centre align.

Untitled.png

Steve

View solution in original post

2 Replies
whyisthisme
Level 7
Level 7

There is probably a fancier way of doing this but one way is to make the textbox the entire width of the form and make sure it is center aligned. That way no matter how long the string is that you enter it will always be centered.

Steve_L_Walker
Correct answer by
Level 10
Level 10

As stated above, go to the Paragraph properties for the text object, click the chevron to select "Currently editing Value properties" and select centre align.

Untitled.png

Steve

View solution in original post