Sign in to follow this  
Followers 0
BALA

ReadOnly Edit bar with vertical scroll bar

5 posts in this topic

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

Share this post


Link to post
Share on other sites



Where did you get $ES_READONLY &?

$display = GUICtrlCreateEdit("", 10, 120, 180, 60, BitOR($ES_READONLY, $WS_VSCROLL, $ES_MULTILINE))

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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))

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