Fossil Rock Posted December 19, 2005 Share Posted December 19, 2005 Koda correctly turns off scroll bars but Autoit shows them anyway.Correctly turned offStill showingAny suggestions as to what might be the problem? Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
ChrisL Posted December 22, 2005 Share Posted December 22, 2005 (edited) You need to set your sizes and position as per your original code.. $Edit_1 = GUICtrlCreateEdit("AEdit1", 420, 10, 360, 520, $ES_WANTRETURN + $ES_MULTILINE + $WS_TABSTOP) Edited December 22, 2005 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Fossil Rock Posted December 22, 2005 Author Share Posted December 22, 2005 I don't understand what you mean. How would I modify the code below to turn off the scrollbars? #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 215, 160, 192, 125) $Edit1 = GUICtrlCreateEdit("", 8, 8, 193, 137, -1, $WS_EX_CLIENTEDGE) GUICtrlSetData($Edit1, "AEdit1") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
BigDod Posted December 22, 2005 Share Posted December 22, 2005 I don't understand what you mean. How would I modify the code below to turn off the scrollbars? #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 215, 160, 192, 125) $Edit1 = GUICtrlCreateEdit("", 8, 8, 193, 137, -1, $WS_EX_CLIENTEDGE) GUICtrlSetData($Edit1, "AEdit1") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd ExitTry #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 215, 160, 192, 125) $Edit1 = GUICtrlCreateEdit("", 8, 8, 193, 137,$WS_EX_CLIENTEDGE) GUICtrlSetData($Edit1, "AEdit1") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit All I did was loose the "-1" Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Fossil Rock Posted December 22, 2005 Author Share Posted December 22, 2005 That works!! Thanks. Any idea what the -1 does? Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
BigDod Posted December 22, 2005 Share Posted December 22, 2005 That works!! Thanks. Any idea what the -1 does?If you read the help file you will see that it sets up the edit box with the default styles which includes the scrollbars. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Fossil Rock Posted December 22, 2005 Author Share Posted December 22, 2005 I saw that but didn't make the connection , thanks for pointing that out. Agreement is not necessary - thinking for one's self is! Link to comment Share on other sites More sharing options...
BigDod Posted December 22, 2005 Share Posted December 22, 2005 I saw that but didn't make the connection , thanks for pointing that out.No problem, we can all miss stuff. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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