WhiteHippo
Messages postés1154Date d'inscriptionsamedi 14 août 2004StatutMembreDernière intervention 5 avril 20123 8 juil. 2007 à 16:59
Bonjour
parent = Form1; ne peut pas fonctionner, propriété en lecture seule. il faut transtyper :
var
Navi: TWebBrowser;
begin
Navi := TWebBrowser.Create(Form1);
Navi.Align := alClient;
// TWinControl(Navi).Parent := Form1; // Affichage sur toute la fiche :(
TWinControl(Navi).Parent := Panel1; // Affichage dans un panel ajouté à la fiche ;)
end;
Exemple d'utilisation :
Navi.Navigate('http://www.swissdelphicenter.ch');
Cordialement.
<hr />"L'imagination est plus importante que le savoir." Albert Einstein