| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Entering CR/LF into an EditField |
| From: | Joe Huber <joehuber@talasoft.com> |
| Date: | Sun, 28 Dec 2008 20:02:44 -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 |
At 5:31 PM -0500 12/28/08, Kem Tekinay wrote: I want to display raw data in an EditField, and sometimes that data might contain a CR/LF combination. The editfield is not designed to support 'raw' data. Binary data may cause the editfield to do unexpected things. eg On Windows, a null character (zero) will terminate the string and so any subsequent characters will not be displayed. Data that you pull out might have a different encoding than what you put in, and might be different binary values as a result. Over the years there have been a variety of reasons given for avoiding trying to put binary data into an editfield. I think you may want to rethink your strategy and keep any binary data cached outside the editfield and use the editfield only for displaying text characters as it was intended. Happy Holidays, Joe Huber _______________________________________________ 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: | Re: Entering CR/LF into an EditField, dda |
|---|---|
| Next by Date: | Re: Entering CR/LF into an EditField, Kem Tekinay |
| Previous by Thread: | Re: the best options to see a Tiff file, Raimon Fernandez |
| Next by Thread: | Fun with RegEx replacement patterns, Kem Tekinay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |