Jump to content

Edit Box Question


GrahamT
 Share

Recommended Posts

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...