Paste Text and impossibility of changing the foregroundcolor

Michael Kann mikekann at
Wed Jul 21 10:42:50 EDT 2010


Let's say you pasted something into fld 1 and you don't like the font you see. The following script will make fld 1 display the font you have specified for that fld:

put fld 1 into fld 1

That's what I've been doing for years. There is probably a better way.


--- On Wed, 7/21/10, Reinhold Venzl-Schubert <r.venzl-schubert at> wrote:

> From: Reinhold Venzl-Schubert <r.venzl-schubert at>
> Subject: Paste Text and impossibility of changing the foregroundcolor
> To: use-revolution at
> Date: Wednesday, July 21, 2010, 9:20 AM
> Hi!
> I needed long a time until I found the reason why I can not
> change the foregroundcolor (textcolor) of a textfield.
> When I simply insert text with "paste text" into a
> textfield, the font of the field will be ignored. Only when
> I use "paste unformatted" the text get the font that is
> adjusted in the field properties.
> Is there any possibility to use unformatted pasting all
> time as preference to avoid those mistakes?
> There is no shortcut to use "paste unformatted"
> It is very circumstantially to change the textfont
> subsequently. A field that has got pasted one time by an
> formatted test is like infected by this format. You cannot
> simple delete the text and paste again unformatted. It does
> not help. Sometimes it helps to copy the content of a not
> infected field into it. Very often the only possibility is
> to delete the whole card and create a new one.
> Do anybody knows some code to fix this nervy thing?
> Thanks
> Reinhold
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:


More information about the Use-livecode mailing list