Jump to content
Sign in to follow this  
erezlevi

GUI button splitting name?

Recommended Posts

erezlevi

hi,

I can't split the name in the guictrlcreatebutton?

I'v tried this: $newcall=GUICtrlCreateButton ("(F3) New " & @CRLF & "Call",5,5,70)

but the New and the Call are still connected together and not in a new line. why?

Share this post


Link to post
Share on other sites
rasim

hi,

I can't split the name in the guictrlcreatebutton?

I'v tried this: $newcall=GUICtrlCreateButton ("(F3) New " & @CRLF & "Call",5,5,70)

but the New and the Call are still connected together and not in a new line. why?

Use $BS_MULTILINE button style

$newcall = GUICtrlCreateButton("(F3)" & @CRLF & "New Call", 5, 5, 70, 40, $BS_MULTILINE)

:D

Share this post


Link to post
Share on other sites
erezlevi

Use $BS_MULTILINE button style

$newcall = GUICtrlCreateButton("(F3)" & @CRLF & "New Call", 5, 5, 70, 40, $BS_MULTILINE)

:D

Thanks it is working I wrote it wrong with $BS_MULTILINE for some reason now I see the problem.

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  

×