OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: domenicomaria on April 12, 2019, 06:56:58 AM

Title: TEXT BOX for a SIMPLE TEXT EDITOR
Post by: domenicomaria on April 12, 2019, 06:56:58 AM
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
Title: Re: TEXT BOX for a SIMPLE TEXT EDITOR
Post by: domenicomaria on April 12, 2019, 02:10:31 PM
does it seem to be
too much simple
this question ?

Or without a solution ?
Title: Re: TEXT BOX for a SIMPLE TEXT EDITOR
Post by: domenicomaria on April 12, 2019, 09:53:32 PM
"Return As Tab"
must be
FALSE
...
and I get the RIGHT behaviour ...
...