I want to use a multi-line edit box, which requires that the flag be set to &1004. Adding &80 means that the contents of the box can be scrolled sideways, so although the box may be 80 characters wide, it will accept lines that are greater than 80 characters. My problem is that I have a box that is - say - 20 lines high but I need to put in 22 lines and then edit those lines.
The multi-line box cheerfully displays the 20 lines and if you delete one or more of the lines the remaining 2 lines appear at the bottom - but what if I don't want to delete any lines? What if I want to edit some of the lines or add to their number? At present this produces a beep and nothing happens.
Is there some flag setting that will allow vertical scrolling?
Multi-line edit box
-
- Posts: 327
- Joined: Wed 04 Apr 2018, 06:36
Re: Multi-line edit box
Thanks to those who replied (I presume elsewhere, but I received e-mails of your answers). I finally solved the problem with flag &10C4, which allows vertical scrolling and lines that overspill the visible area in the edit box.