Date: Thu, 28 May 2009 07:42:02 +0100
From: n...@nrbs.com
Subject: Re: RichEdit - copying formatted text from/to
To: "Borland's Delphi Discussion List" <delphi@elists.org>
Message-ID: <20090528.064202.25...@nrb-xp-pro>
Hi Stan
I just use the richedit copy and paste functions.
use RE1 sellength to select required text on RE1
then use copytoclipboard.
Now paste clipboard data into RE2
I use this for generating barcode data using fonts drawn
into rich edit. The select richedit contents and copy to the
clipboard.
Now pasting clipboard data into any richedit based control
will produce the required data including formatting.
Hope this helps
regards
Neil
Neil,
How do you save the existing Clipboard contents in case your user has
something on it? I'd get pretty irked if an application removed data
from my clipboard :)
Is it possible to make a clipboard replacement to use in an application?
Mick
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi