MarioX Posted April 18, 2007 Share Posted April 18, 2007 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 Link to comment Share on other sites More sharing options...
xcal Posted April 18, 2007 Share Posted April 18, 2007 Can't find _GUICtrlCreateTable in the help file, the newest beta help file, or doing a search. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
MarioX Posted April 18, 2007 Author Share Posted April 18, 2007 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...CtrlCreateTableAnyway, 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... Link to comment Share on other sites More sharing options...
xcal Posted April 18, 2007 Share Posted April 18, 2007 Add "$SS_CENTERIMAGE + $SS_CENTER" as the style for all the GuiCtrlCreateLabel lines. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
MarioX Posted April 19, 2007 Author Share Posted April 19, 2007 Thanks for the information! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now