realbasic-nug
[Top] [All Lists]

Re: Storing the contents of a styled editfield...

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Storing the contents of a styled editfield...
From: Dennis Birch <dennisbirch@gmail.com>
Date: Tue, 30 Jun 2009 09:29:33 -0700
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; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=g6aNCNUQ2SJzb+DMxn+bu176JJB7Sxvk0n+PxQXT9cg=; b=KxVzKR1w7EcJfs0UOL847Z7Zq+665p7wFbxhgM2RytpesoDltDJFan9D3HiJWEW935 F2bMHaSI8LyRSckV7TB4alMS+OWVSWWms5kmT5DYPhVXImoBQ8Ln+XRqvhWUdOyZG1il joUKWcj9FukFcelsr4sTz3RKB2TFH3SIfwSdo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kGb+VlL4RKsmyuyuPclV93s1QaHTBZ0joqVwvW/QzUWtOdRC/+1zCiRV3FU0DBzFCL SKW3656LoDxNPRzQAk+olgj++9yY2OjTzQBFs+gHGikrQFPt2DvhNM8ftHFblDGljmVH Ofiynrv6sSkkcwfvZ83eFaLDliWRy2k9e/gyk=
In-reply-to: <839A347D-2C6B-474A-86E3-53B7D4F9DE96@gmail.com>
References: <839A347D-2C6B-474A-86E3-53B7D4F9DE96@gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Tue, Jun 30, 2009 at 8:56 AM, Jann Gobble<janngobble@gmail.com> wrote:

> My main question is this:  I know I can store the TEXT portion of the
> editfield in a string variable and redisplay it if needed but is there a way
> to store the text and style portions in a variable.

Have you tried saving the RTFData of your EditField's StyledText? I
believe you could save that as a string to a text or binary file, and
restore the text and styling to an EditField from that saved RTFData.

_______________________________________________
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>