Hi Tom,
The Find dialog hasn't been implemented, see bug 260641: https://bugzilla.mozilla.org/show_bug.cgi?id=260641
View source is a bit awkward but there is a workaround here: http://mozdev.org/bugs/show_bug.cgi?id=6229#c2
I don't know how to show the document properties but there may be an ExecWB call for it. Try looking at the control's source here:
http://lxr.mozilla.org/seamonkey/source/embedding/browser/activex/src/control/MozillaBrowser.h
AFAIK the control has no home page, that is for your app to handle.
You may find the Mozilla-Delphi Project helpfull. I reccomend getting the source from the 'Taming the Lizard with Delphi' tutorial from CVS, it includes some stuff not in the zip archive (including View Source).
http://delphi.mozdev.org/
Dave Murray Glasgow, UK PGP KeyID: 0x838592B3
Remove NOSPAM from my email address to reply.
Tom Peters wrote:
Ok, I've found work arounds for this issue. Now I'm looking for help getting the following options to work (Delphi 5):
Find (on this page) - The find dialog IE has View Source - Just want to popup Notepad, with the HTML source of the current page Popup the properties of the current document. You can right-click and select properties from the minimal menu.
Also, does anyone know if the home page is hard-coded into the control. I wish this could be changed in the future, where maybe it's a simple registry value. If the key isn't there or is empty, then direct the user to the Netscape or Mozilla main site.
"Tom Peters" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
I'm incorporating the Active X control, into a Delphi 5.x application I'm writting. Below is a code snippet I'm working with:
var wbBrow: TControl; // defined this way, because I'm giving the user a choice between IE and Mozilla begin wbBrow := TMozillaBrowser.Create(nil);
wbBrow.Parent := pc.ActivePage; //we'll say I'm assigning it to a tabsheet of a page control
wbBrow.Align := alClient;
AssignWBEvents((wbBrow as TMozillaBrowser)); // (wbBrow as TMozillaBrowser).Refresh;
// (wbBrow as TMozillaBrowser).Resizable := True; (wbBrow as TMozillaBrowser).Navigate(WideString('http://www.bitstechnology.com')); end;
I'm getting a "Browser is not in a valid state" error, whenever I try to change the, for example, Resizeable property or try to navigate to a site. ???
_______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
