User Tools

Site Tools


enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29

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
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
enabling_20word-wrap_20in_20a_20texteditor_20_28lbb_29.txt · Last modified: 2018/04/17 16:03 by tbest3112