From: nobody@REPLAY.COM (Anonymous)
Subject: Re: How do I insert a carriage return into a multi-line text box (ObjectAda)?
Date: 1997/09/12
Date: 1997-09-12T00:00:00+00:00 [thread overview]
Message-ID: <199709121418.QAA15476@basement.replay.com> (raw)
In-Reply-To: 341825F3.41C67EA6@swl.msd.ray.com
<3416D21B.3366@cacd.rockwell.com>
On Thu, 11 Sep 1997 13:10:11 -0400, John Cupak {73739}
<jcj@swl.msd.ray.com> wrote:
> Meyer Jeffrey D wrote:
> >
> > I am writing an application that is using a multi-line text box for a
> > status/output window. I cannot, however, insert a carriage return
> > character to advance the cursor to the next line for a new status
> > output. I can insert an ASCII code 13 (carriage return character), but
> > instead of performing a CR, a vertical bar (signifying a non-printable
> > character) is inserted into the text box.
> >
> > Does anybody know if it possible to use a multi-line tet box in this
> > fashion, or do I need to wait for a version of ObjectAda that lets me
> > use OCX controls (such as a Rich Text Box)?
> >
> > Thanks in advance,
> > Jeff Meyer
>
> Jeff,
>
> You should be able to concatenate the ASCII.NL character, as follows:
>
> Message : constant String :=
> "Are you REALLY sure you want to delete the file?" &
> ASCII.NL &
> "Select YES or NO button, below.";
Except that NL is not defined in ASCII nor in Ada.Characters.Latin_1, so
this should not compile.
Jeff Carter PGP:1024/440FBE21
My real e-mail address: ( carter @ innocon . com )
"I fart in your general direction."
Monty Python & the Holy Grail
Posted with Spam Hater - see
http://www.compulink.co.uk/~net-services/spam/
next prev parent reply other threads:[~1997-09-12 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-10 0:00 How do I insert a carriage return into a multi-line text box (ObjectAda)? Meyer Jeffrey D
1997-09-11 0:00 ` John Cupak {73739}
1997-09-12 0:00 ` Anonymous [this message]
1997-09-12 0:00 ` Mats Weber
1997-09-12 0:00 ` Samuel T. Harris
[not found] ` <34202BB9.1FE0@gsg.eds.com>
1997-09-18 0:00 ` Samuel T. Harris
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox