something better than HTMLText, anyone?

Mike Bonner bonnmike at gmail.com
Sat May 21 19:06:28 EDT 2011


revbrowserset instanceId, propertyname, value should do it

IE
revbrowserset instanceId,"htmltext",tHtmlVar

On Sat, May 21, 2011 at 5:00 PM, Slava Paperno <slava at lexiconbridge.com>wrote:

> Right, thanks--I can do that if I save the HTML text first as an htm file,
> then open it with revBrowserOpen() from the file. But I can't figure out
> how
> to avoid that step. Is there a way to pass the HTML text to revBrowser
> without saving it on the user's drive as a file?
>
> Slava
>
> > -----Original Message-----
> > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> > bounces at lists.runrev.com] On Behalf Of stephen barncard
> > Sent: Saturday, May 21, 2011 4:30 PM
> > To: How to use LiveCode
> > Subject: Re: something better than HTMLText, anyone?
> >
> > Revbrowser. Display the html in a real, imbedded browser.
> >
> >  there should be an example stack included with your LiveCode package
> > or
> > folder.
> >
> > On 21 May 2011 12:18, Slava Paperno <slava.paperno at cornell.edu> wrote:
> >
> > > I have a large database of relatively small texts in basic HTML
> > format
> > > (including very basic tables), and I need to display these texts in a
> > card.
> > > Cellpadding, cellspacing, and borders in tables must be supported.
> > >
> > > The HTMLText property of fields in LC supports a rich collection of
> > text
> > > styles, but not HTML tables.
> > >
> > > How would you display such HTML text in a card? The user needs to be
> > able
> > > to
> > > adjust the font size of this text.
> > >
> > > When the user clicks a word in the text, my scripts need to be able
> > to
> > > extract the word that she clicked.
> > >
> > > Any tips would be appreciated.
> > >
> > > Slava
> > >
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> >
> >
> > --
> >
> >
> >
> > Stephen Barncard
> > San Francisco Ca. USA
> >
> > more about sqb  <http://www.google.com/profiles/sbarncar>
> > _______________________________________________
> > 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
>
>
>
> _______________________________________________
> 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