Sign in to follow this  
Followers 0
payday

ControlCommand Button Text line break

2 posts in this topic

Hello,

I have a button with the text "WAIT FOR THIS" with a line break in it after FOR. What is the code for the line break and how must the bottom code be changed?

ControlCommand("", "", "[CLASS:Button; TEXT:WAIT FOR THIS; INSTANCE:12]", "IsVisible")

Thanks for the help.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Maybe:

ControlCommand("", "", "[CLASS:Button; TEXT:WAIT FOR" & @CRLF & "THIS; INSTANCE:12]", "IsVisible")

But I'm not sure about that

EDIT:

here is my code for multiline button

$btn_zobr_vse = GUICtrlCreateButton("Zobrazit" & @CR & "Vše", 745, 32, 75, 49, BitOR($BS_CENTER,$BS_MULTILINE))

so you can use this as testing button

Edited by Zedna

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