strange htmltext problem
Mike Bonner
bonnmike at gmail.com
Tue Sep 18 10:55:56 EDT 2012
instead, try it with styledtext
If you set things how you want then
put the styledtext of field 1 into myWhateverArray
you can then set the styledtext of field 1 back to the array
On Tue, Sep 18, 2012 at 8:37 AM, Klaus on-rev <klaus at major.on-rev.com>wrote:
> Hi friends,
>
> I have a strange htmltext problem with LC 5.52 while working on a rating
> thing (5 stars etc..) with a LOCKED field :-)
>
> I have this script:
> on mouseUp
> put "12345" into fld 1
> repeat with i = 1 to 5
> set the imagesource of char i of fld 1 to 1005
> end repeat
> end mouseUp
>
> Works fine, 5 white stars appear, and when I check the htmltext of fld 1 I
> get:
> RETURNS added for readability
> <p>
> <img src="1005" char="1">
> <img src="1005" char="2">
> <img src="1005" char="3">
> <img src="1005" char="4">
> <img src="1005" char="5">
> </p>
>
> Fine so far, but when I set the htmltext of that field to the (Livecode
> approved?) string above, only ONE star appears
> and the htmltext reports:
> <p>
> <img src="1005" char="12345">
> </p>
>
> WTF?
> What am I missing?
>
> Any hints very appreciated!
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list