enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29
This is an old revision of the document!
Enabling word-wrap in a texteditor (LBB)
by Richard Russell, February 2016
The Liberty BASIC texteditor control does not support word-wrap at all, but in LB Booster word-wrapping may be enabled using stylebits:
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 #w.te "!font Arial 0 28" #w.te "The quick brown fox jumps over the lazy dog's tail." wait
enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29.1522502358.txt.gz · Last modified: 2024/01/05 00:18 (external edit)