Custom Browser

Jeanne A. E. DeVoto jeanne at runrev.com
Sat Dec 8 02:50:01 EST 2001


At 11:29 AM -0800 12/4/2001, Richard Pilot wrote:
>How do You display a html file either from the internet, a
>hard-drive or from html code from the application itself?

Check out the htmlText property. For example, if you have HTML in a
variable called "foo", you can view the effect of the HTML by setting a
field's htmlText property to the contents of "foo":

  set the htmlText of field "Test" to foo

Or similarly, to view HTML from the web, you would set the htmlText of your
field to the URL of the web page you want to view:

  set the htmlText of field "Test" to URL "http://www.example.org"

(The htmlText is not a complete implementation of HTML - it focuses on
text-styling properties.)

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!





More information about the use-livecode mailing list