Definitely a bug. Or maybe a random feature! Definitely annoying that it doesn't work.
On Tue, Sep 18, 2012 at 8:59 AM, Klaus on-rev <kl...@major.on-rev.com>wrote: > Hi Mike, > > Am 18.09.2012 um 16:55 schrieb Mike Bonner <bonnm...@gmail.com>: > > > 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 > > ah, thanks! > "styledtext", hmm, looks its time to read up the new field features :-D > > Anyway, I consider this a bug with htmltext! > > > On Tue, Sep 18, 2012 at 8:37 AM, Klaus on-rev <kl...@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> > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > kl...@major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode