Jump to content

Using EDIT box options...

Recommended Posts

style [optional] Defines the style of the control. See GUI Control Styles Appendix.


forced styles : $ES_MULTILINE, $WS_TABSTOP


Thats what it says in the helpfile, I dont want it to have the HSCROLL part so I change my edit line to:

$txt_field=GuiCtrlCreateEdit("",2,50,252,204,$ES_WANTRETURN, $WS_VSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL)

Now it crashes saying theres to many options (Parameteres and function calls.. or something). How can I remove HSCROLL but not have to many? Do I list them like I did above? I couldnt find how to list them whether you use a comma, an &, or a + to do it...

EDIT~I meant I didnt want HScroll, the one on the bottom

Edited by Rad
Link to post
Share on other sites
  • Moderators

Did you try to BitOr it?

$txt_field=GuiCtrlCreateEdit("",2,50,252,204, BitOR($ES_WANTRETURN, $WS_VSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL))

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 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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...