Jump to content

ControlCommand Button Text line break


Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...