Jump to content
Sign in to follow this  
Rad

Using EDIT box options...

Recommended Posts

Rad

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

default ( -1) : $ES_WANTRETURN, $WS_VSCROLL, $WS_HSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL

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

Share this post


Link to post
Share on other sites
Thatsgreat2345

ooops haha that was wrong :P

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites
SmOke_N

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.