Jump to content

Recommended Posts

Posted

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.

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

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
×
×
  • Create New...