James Posted November 26, 2006 Posted November 26, 2006 Its me again. Im still waiting for my other problem to be fixed, but I'm not so bothered about that yet. Now this is for the splash screen: $disclaimer = GUICtrlCreateInput("Secure_ICT does not take any responsibillity for any damage you may cause whilst using this program.", 72, 48, 529, 21, BitOR($ES_AUTOHSCROLL,$ES_READONLY)) [autoit] All I need to know is how to add a break between each line. E.G: Secure_ICT does not take any responsibillity for any damage you may cause whilst using this program. Will end up like: Secure_ICT does not take any responsibillity for any damage you may cause whilst using this program. More words more words etc etc Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Moderators SmOke_N Posted November 26, 2006 Moderators Posted November 26, 2006 $sText = 'Some Text' & @CRLF & 'Some Other Text' & @CRLF & 'Yet some more text' MsgBox(64, 'Info:', $sText) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Helge Posted November 26, 2006 Posted November 26, 2006 Use GUICtrlCreateEdit instead, as Input is for single line only. Use @CRLF to "break the it up" in multiple lines, as shown by SmOke_N. And consider using continuation lines to avoid long lines in the code... $text = "line 1" & @CRLF & _ "line 2" & @CRLF & _ "line 3" MsgBox(64, "", $text)
James Posted November 26, 2006 Author Posted November 26, 2006 This method works for the splash screen I have, but not for the text box. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Moderators SmOke_N Posted November 26, 2006 Moderators Posted November 26, 2006 This method works for the splash screen I have, but not for the text box.He told you to change the GUICtrlCreate "input" to "edit" Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
BigDod Posted November 26, 2006 Posted November 26, 2006 This method works for the splash screen I have, but not for the text box.What do you mean by text box? Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
James Posted November 26, 2006 Author Posted November 26, 2006 He told you to change the GUICtrlCreate "input" to "edit"Oh right. Missed that Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now