Bill has devised a clever method for breaking lines to the length desired in a texteditor, using the stringwidth graphics function. Thanks for sharing, Bill! See the attachment wrapText.bas included with this newsletter.
' wrapText.bas 'LB3x required. 'Word wrap text in a scrollable LB textEditor 'using 'stringWidth' in a graphicbox to 'find the wrap point. 'Works with TXT files too. See [getFile]. 'In addition to wrapping at the nearest space, 'the code will also wrap at hyphens, and replace 'tabs with spaces. ' Bill Jennings, Aug 2002.