realbasic-nug
[Top] [All Lists]

Re: HTMLViewer.LoadPage

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: HTMLViewer.LoadPage
From: Sven E Olsson <svenerik at xhtmlsoft dot com>
Date: Tue, 1 Nov 2005 06:25:49 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <4366EEFF dot 6030608 at softage dot ru>

On 1 nov 2005, at 05.28, a.zatsepin wrote:

Hello.

Now I have a few more questions.

In RB Help I found that:

HTMLViewer.LoadPage

Loads the passed source HTML. Any links will be resolved relative to the passed RelativeTo FolderItem <../Topics/780.html>.

Syntax

HTMLViewer.LoadPage Source, RelativeTo

Sorry i forgotten example 2

This is the same but now we don't need to simulate the place for the html file

dim f as folderitem

f = desktopFolder
if f <> nil and f.exists then
f = f.child("index.html")
end if

if f <> nil and f.exists then
HtmlViewer.Loadpage DesktopFolder.child("index.html")
else
beep
and shut down
end if

Sven E

svenerik at xhtmlsoft dot com
http://www.xhtmlsoft.com
http://seedit.3.forumer.com/
Skype: callto://sven-e-olsson-simrishamn-sw


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>