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
moving text with formats
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: moving text with formats
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
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
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: moving text with formats
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
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
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
Hi Greg,
yep, check the above link, "imagesource" is the magic word
Best
Klaus
yep, check the above link, "imagesource" is the magic word

Best
Klaus