Rad Posted January 10, 2006 Share Posted January 10, 2006 (edited) 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 January 10, 2006 by Rad Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 10, 2006 Share Posted January 10, 2006 (edited) ooops haha that was wrong Edited January 10, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 10, 2006 Moderators Share Posted January 10, 2006 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 comment Share on other sites More sharing options...
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