Jump to content
Sign in to follow this  

string border? is it possible...

Recommended Posts



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($agent5 & " " & $agent8 & " " & $agent11,125,$p)

Edited by erezlevi

Share this post

Link to post
Share on other sites

Splitting is best. An alternative would be a monospaced font & string padding,

but IMHO that's rather ugly.


Share this post

Link to post
Share on other sites

You would need a listview to do this, so its laid out more like a spreadsheet.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.