| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Entering CR/LF into an EditField |
| From: | Terry Ford <tmford@shaw.ca> |
| Date: | Sun, 28 Dec 2008 15:45:08 -0800 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <C57D686D.1C180%ktekinay@mactechnologies.com> |
| References: | <C57D686D.1C180%ktekinay@mactechnologies.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On Dec 28, 2008, at 2:31 PM, Kem Tekinay wrote: This may be a case where the built-in control is a little too smart...I want to display raw data in an EditField, and sometimes that data might contain a CR/LF combination. Unfortunately, in those cases, RB replaces that combo with just a single CR (on a Mac), so this is what I did: I split the string by LF, then used fld.AppendText to enter the string in chunks, eachfollowed by a LF until the last chunk. Was there an easier way? The ReplaceLineEndings Function? Terry _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Entering CR/LF into an EditField, Kem Tekinay |
|---|---|
| Next by Date: | Re: Entering CR/LF into an EditField, Kem Tekinay |
| Previous by Thread: | Entering CR/LF into an EditField, Kem Tekinay |
| Next by Thread: | Re: Entering CR/LF into an EditField, Kem Tekinay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |