Article View: borland.public.cppbuilder.nativeapi
Article #6344Re: AnsiString and the LineFeed char
From: Robert G. Hoover
Date: Tue, 17 May 2005 18:47
Date: Tue, 17 May 2005 18:47
40 lines
2195 bytes
2195 bytes
So, when I use the following, which utilizes the "Hint" property of my TButton, TPanel, etc... HintMemo->Lines->Text = GetLongHint(Application->Hint); I see in the AnsiString... "click here\\nto do something" I suppose I can parse this to remove the '\\', right? Wouldn't it be better to find the cause? Rob Remy Lebeau (TeamB) wrote: > "Robert G. Hoover" <not.a.real.address@anywhere.sorry> wrote in message > news:428a27e9@newsgroups.borland.com... > > >>But, if I write (to simulate my incoming hint)... >> >>Application->Hint = "1\n2\n3\n4\n5"; >>MyTMemo->Lines->Text = GetLongHint(Application->Hint); >> >>...I get... >> >>1|2|3|4| > > > Works fine for me when I try that code as-is. I don't get the "|" > characters at all, each number is on its own line as expected. Which > version of BCB are you actually using? > > > GAmbit > >
Technical Details
Message-ID:
<428a3c29@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42826ce0@newsgroups.borland.com> <428279f7$1@newsgroups.borland.com> <428a086f$1@newsgroups.borland.com> <428a1a01@newsgroups.borland.com> <428a27e9@newsgroups.borland.com> <428a2e7f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,617c7c48d8598286 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 17 May 2005 14:47:03 -0400 From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: AnsiString and the LineFeed char References: <42826ce0@newsgroups.borland.com> <428279f7$1@newsgroups.borland.com> <428a086f$1@newsgroups.borland.com> <428a1a01@newsgroups.borland.com> <428a27e9@newsgroups.borland.com> <428a2e7f$1@newsgroups.borland.com> In-Reply-To: <428a2e7f$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0520-1, 05/17/2005), Outbound message X-Antivirus-Status: Not-Tested NNTP-Posting-Host: 68.48.159.204 Message-ID: <428a3c29@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116355625 68.48.159.204 (17 May 2005 11:47:05 -0700) Lines: 40 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail