Page 1 of 1
moving text with formats
Posted: Sat Apr 30, 2011 3:30 pm
by adventuresofgreg
Hi: This might be a simple question, but I can't seem to find an easy answer in the userguide. I would like to move some formatted text (type sizes, typestyles, etc) from a field into another field, but the styles and formatting information is not moving with the text. Is there an easy way of maintaining the styles, etc?
thanks
Greg
Re: moving text with formats
Posted: Sat Apr 30, 2011 3:51 pm
by Klaus
Hi Greg,
yep, use "the htmltext of fld..." (or maybe "the RTFTEXT of fld ...")
...
set the htmltext of fld "boring" to the htmltext of fld "field with nice formatted text and stuff"
...
Et voila, styled text
Best
Klaus
Re: moving text with formats
Posted: Sat Apr 30, 2011 4:15 pm
by adventuresofgreg
YA! perfect. thats worked. Now, is it possible to include images in the text field?? I woudl like to be able to paste in small graphics into the field and have those scroll with the text.
Re: moving text with formats
Posted: Sun May 01, 2011 6:05 am
by Regulae
Hi there,
I remember contributing to a thread which looked at including images in text fields:
http://forums.runrev.com/phpBB2/viewtop ... f=9&t=5780
... which may be of interest.
Regards,
Michael
Re: moving text with formats
Posted: Sun May 01, 2011 10:59 am
by Klaus
Hi Greg,
yep, check the above link, "imagesource" is the magic word
Best
Klaus