GrahamT Posted March 28, 2006 Share Posted March 28, 2006 I am using a List box from which I select individual lines of text, to build up a larger block of text in an EditBox. I don't want a horizontal scroll bar, I want the text to wrap when it reaches the right-hand side of the EditBox. I just can't find out how to do it. Any ideas? Thanks, Graham Link to comment Share on other sites More sharing options...
BigDod Posted March 28, 2006 Share Posted March 28, 2006 Here is an edit box made with Koda that wraps text #include <GUIConstants.au3> ; == GUI generated with Koda ==); $Form1 = GUICreate("AForm1", 622, 448, 192, 125) $Edit1 = GUICtrlCreateEdit("", 128, 72, 145, 145, $ES_WANTRETURN) GUICtrlSetData($Edit1, "AEdit1") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd 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...
GrahamT Posted March 28, 2006 Author Share Posted March 28, 2006 Thats great - thanks very much for your help! Graham Here is an edit box made with Koda that wraps text #include <GUIConstants.au3> ; == GUI generated with Koda ==); $Form1 = GUICreate("AForm1", 622, 448, 192, 125) $Edit1 = GUICtrlCreateEdit("", 128, 72, 145, 145, $ES_WANTRETURN) GUICtrlSetData($Edit1, "AEdit1") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd 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