Autor Beitrag
Sebo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Sa 01.05.04 17:06 
Hi
weiß jemand wie ich ein Objekt der TWebbrowser Klasse während der Laufzeit erzeuge, welches dann auch auf dem Formualr z.b. Form1 angezeigt wird?
mit TButton gehts so:


Quelltext


ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
 
Button:=TButton.Create(Self); 
  with Button do 
    begin 
      Parent:=Form1; 
      Caption:='Beenden'; 
      Left:=100; 
      Top:=100; 
      OnClick:=Button2Click; 
    end;





Bei dem Objekt von TWebbrowser kann man jedoch nichts der objektsinstanz parent übergeben.
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Sa 01.05.04 17:08 
Hi,

Das sollte weiterhelfen:
www.swissdelphicente...showcode.php?id=2055
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Sa 01.05.04 20:00 
Manchmal hilft auch die Suchfunktion des Forums... :)

such mal nach Suche in: Delphi-Forum, Delphi-Library TWEBBROWSER ZUR LAUFZEIT ERSTELLEN
gabs schon mal hier im Forum

gruß, jjturbo

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...