BALA Posted February 3, 2007 Posted February 3, 2007 I want something like this: $display = GUICtrlCreateEdit("", 10, 120, 180, 60, $ES_READONLY & $ES_MULTILINE)oÝ÷ Ù»Â+aj÷«¶'Ç+¢Y[j´¨"ÚâyÛaÆ®¶sbb33c¶F7ÆÒuT7G&Ä7&VFTVFBgV÷C²gV÷C²ÂÂ#ÂÂcÂb33c´U5õ$TDôäÅfײb33c´U5ôÕTÅDÄäRfײb33cµu5õe45$ôÄ It didn't seem to work. Should it work theoretically, or did I do something wrong? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Moderators SmOke_N Posted February 3, 2007 Moderators Posted February 3, 2007 Where did you get $ES_READONLY &?$display = GUICtrlCreateEdit("", 10, 120, 180, 60, BitOR($ES_READONLY, $WS_VSCROLL, $ES_MULTILINE)) 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.
BALA Posted February 3, 2007 Author Posted February 3, 2007 Where did you get $ES_READONLY &? $display = GUICtrlCreateEdit("", 10, 120, 180, 60, BitOR($ES_READONLY, $WS_VSCROLL, $ES_MULTILINE)) I thought, since to add variables to text you use "&", it would work with the style sheets. Anyways thanks fro teh code, taht's what I needed. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Moderators SmOke_N Posted February 3, 2007 Moderators Posted February 3, 2007 I thought, since to add variables to text you use "&", it would work with the style sheets. Anyways thanks fro teh code, taht's what I needed.To add a "String" to part of another "String" you would use &, to actually "Add" what do you use? Once you've answered that question, read BitOr in the help file so you understand why we used that there. 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 February 3, 2007 Posted February 3, 2007 I thought, since to add variables to text you use "&", it would work with the style sheets.MsgBox(64, "", _ "1 & 3" & @TAB & @TAB & (1 & 3) & @CRLF & _ "1 + 3" & @TAB & @TAB & (1 + 3) & @CRLF & _ "BitOR(1,3)" & @TAB & BitOR(1, 3))
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