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