erezlevi Posted February 8, 2008 Share Posted February 8, 2008 (edited) hi, I have the following GUI line: GUICtrlCreateLabel($agent2 & " " & $agent5 & " " & $agent8 & " " & $agent11, 25, $p) ok, $agent2 is allways changing in lenght because it represent a name. because of it my outcome is this: Orly 13000 2800 AUX MR. ronen 14001 2801 AUX JR 13003 2802 AUX I need the numbers to be under each other and the AUX also, I can do it using multi- GUICTRLcreateinputs but I don't want to use it, is there a way to strict how long the name is and where the second sentance starts in the same GUICTrlcreatelabel, or do I have to split it to two labels using the same line like: GUICtrlCreateLabel($agent2,25,$p) GUICtrlCreateLabel($agent5 & " " & $agent8 & " " & $agent11,125,$p) Edited February 8, 2008 by erezlevi Link to comment Share on other sites More sharing options...
whim Posted February 8, 2008 Share Posted February 8, 2008 Splitting is best. An alternative would be a monospaced font & string padding, but IMHO that's rather ugly. wim Link to comment Share on other sites More sharing options...
weaponx Posted February 8, 2008 Share Posted February 8, 2008 You would need a listview to do this, so its laid out more like a spreadsheet. 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