Wordwrap in texteditor control
Wordwrap in texteditor control
Is there a set of stylebits that I can use to get a texteditor control to word wrap long records? The input files were created in Notepad [or one of the clones] and have {0x0d}{0x0a} characters at the end of the long lines. Searching the MS KB got me lost in the forest of Windows jargon and I barely made it back to civilization.
Re: Wordwrap in texteditor control
Code: Select all
texteditor #w.te, 10, 10, 280, 280
stylebits #w.te, 0, _ES_AUTOHSCROLL or _WS_HSCROLL, 0, 0
open "Wordwrap test" for window as #w
wait
Re: Wordwrap in texteditor control
Thanks, that works great.