Jump to content

ReadOnly Edit bar with vertical scroll bar


BALA
 Share

Recommended Posts

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

  • Moderators

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.

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

  • Moderators

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.

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