Sign in to follow this  
Followers 0
MarioX

String formatting question

5 posts in this topic

I want center the text inside cells creted with _GUICtrlCreateTable

I need to add space before and after each string so the resuting lenght is always the same

"forecast"

"this"

"is"

"a"

"test"

"forecast"

"   this   "

"     is    "

"     a    "

"   test   "

How to do this ?

Thanks for any help

Share this post


Link to post
Share on other sites

Can't find _GUICtrlCreateTable in the help file, the newest beta help file, or doing a search.

It's here:

http://www.autoitscript.com/forum/index.ph...CtrlCreateTable

Anyway, my question is not strictly related to _GUICtrlCreateTable.

I'm sure I saw in the past the code to fill a string with space so the resulting lenght is always the same but I'm now unable to find it... :shocked:

Share this post


Link to post
Share on other sites

Thanks for the information! :shocked:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0