htmlText question

Peter Haworth pete at lcsql.com
Mon Sep 30 21:46:12 EDT 2013


I guess to be more specific, I need to mix text and htmltext on the same
line of the field

Here's what seems to work after some experimentation:

set the text of line x of thefield to "xyz" -- the non-html stuff
set the htmltext of char (the length of line x of field "Z")+1 to \
    (the length of line 1 of field "Z")+ the length of thtmltext+1 to
thtmltext.




Pete
lcSQL Software <http://www.lcsql.com>


On Mon, Sep 30, 2013 at 5:07 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Pete-
>
> Monday, September 30, 2013, 4:50:07 PM, you wrote:
>
> > I really want things to display without the <, etc, just a straight
> > representation of the original html text
>
> put "this is <some text>" into tText
> replace "<" with "<" in tText
> set the htmltext of field 1 to tText
>
> ...or am I misunderstanding what you want?
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
>
> _______________________________________________
> 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