From: John Cupak {73739} <jcj@swl.msd.ray.com>
Subject: Re: How do I insert a carriage return into a multi-line text box (ObjectAda)?
Date: 1997/09/11
Date: 1997-09-11T00:00:00+00:00 [thread overview]
Message-ID: <341825F3.41C67EA6@swl.msd.ray.com> (raw)
In-Reply-To: 3416D21B.3366@cacd.rockwell.com
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.";
--
----------------------------------------------------------------
- John J. Cupak Jr, CCP -
- Raytheon Electronic Systems: Software Engineering Laboratory -
- tel: 508-858-1222 email (work): jcj@swl.msd.ray.com -
- fax: 508-858-4336 email (home): jcupak@aol.com -
----------------------------------------------------------------
next prev parent reply other threads:[~1997-09-11 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} [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
1997-09-12 0:00 ` Anonymous
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox