In your example, if you put the field you should get tes t. Note the extra space. That's a character being supplied by Rev as the target for the imagesource.

If you put "test" into the field and then use

set the imagesource of char 3 of fld 1 to 1005

you will get a field that looks like: te[image]t but if you put the field you will get test.

I'm modifying some code someone else wrote where they set the imagesource and then took advantage of the fact that the underlying character was still there (but hidden). I changed it to setting the htmlText for exactly the reason you listed -- speed, but now the underlying character is always space, so the code is broken.

On Mar 2, 2005, at 7:05 AM, Scott Rossi wrote:

When I set the HTMLtext by script:

 set the HTMLtext of fld 1 to \
      "<p>tes<img src=" & quote & "1005" & quote & ">t</p>"

I get the expected result in the field:  tes[image]t

When I put the field, I get:  <p>tes<img src="1005">t</p>


regards,

Geoff Canyon
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to