Hi,

REALbasic 2006 Release 3 Commercial Professional for Mac OS X
Mac OS X 10.4.7

HTMLViewer Control.

I just added a Message Box in HTMLViewer1.CancelLoad, run the project and get two times that CancelLoad ???

I also get the message when I click in a link or Ctrl-Click --> Choose "Load in a new window"; also when I choose Reload, but not when I choose Previous or Next.

I am searching a way to "trap" the user's click in a link --> ContextualMenu --> Open in another window...

I also search a way to work with ContextualMenu (watch my other mail).

Now the real question:

How do I get the clicked URL ?
[The use Ctrl-Click on a link and action the "Open the link in another window]

TIA,

Emile


PS: Return True in HTMLViewer1.CancelLoad is a... prevent anything to be loaded (or displayed)... even the drag and drop file is not displayed !

The Language Reference states:

<quote>HTMLViewer.CancelLoad Event:

Returns a Boolean. Return True to cancel loading the page.
</quote>

Can some English mother tongue people can tell me if that sentence says exactly what I understand by trial and error (read above) ? [since I do not have understand that from the sentence. I only understand it prevent to load _the_ page; if it was "cancel loading any page" or "cancel loading every page" or... better: "Return True prevent the loading of any page." (or some better English sentence)].
_______________________________________________
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>

Reply via email to