TEXT BOX for a SIMPLE TEXT EDITOR

Started by domenicomaria · 2019-04-12 13:56 UTC · 2 replies · SMF topic #2667

I want try to create
a simple text editor
in a MODAL FORM
using the TEXT BOX control
setting ON
the MULTI LINE STRING
option.


I need that
when the USER
press ENTER,
the CURSOR
has to GO
at the BEGINNING
of the NEXT ROW.

And if
the NEXT ROW
already EXISTS,
I want that
it has to CREATE
a NEW EMPTY ROW,
and the cursor
has to go
at the beginning
of this new row.

What have I to do
to achieve this ?

I simply
need to achieve
the same behaviour
of NOTEPAD
does it seem to be
too much simple
this question ?

Or without a solution ?
"Return As Tab"
must be
FALSE
...
and I get the RIGHT behaviour ...
...