gettingstarted
[Top] [All Lists]

Re: Saving an EditField to text not rtf

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: Saving an EditField to text not rtf
From: Emile Schwarz <Emile dot A dot Schwarz at wanadoo dot fr>
Date: Sun, 30 May 2004 09:58:07 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
References: <20040530041642 dot 9109D1F8968 at lists dot realsoftware dot com>


gettingstarted-request at lists dot realsoftware dot com wrote:
Subject: Saving an EditField to text not rtf
From: "Danny Jackson" <danny_307mo at lycos dot com>
Date: Sun, 30 May 2004 00:16:09 -0400

I'm new to RB and have searched all of the threads and documentation for a way 
to save a multi line editfield contents to a plain text file without any rtf 
code.

What I'm trying to do is to create an Html editor and it cannot have any rtf 
code in it.

All of the examples I've seen are for a single line editfield and are not 
compatable with my app.

I'm using RB 5.2 for Windows and am running Windows ME as an operating system.

Any help would be greately appreciated


Danny, I think you will not like my answer... Save the EditField contents as text, not Styled EditField.

I am not sure at 100% that this really helps (not tested). If that is not the case, try BinaryStream...

Of course, you will loose (if that works as you want) the styles :(

Another solution could be to use a standard EditField (no styles), but then you do not have colors, Bold/Italic/and so on... in your html editor :(


Compromises...


HTH,

Emile


_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>