Autor Beitrag
schdom14
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP
D7 Enterprise
BeitragVerfasst: Fr 05.09.03 12:59 
Hi Leute,

kann mir einer sagen wie ich auf den Browser warten kann??? Also ich meine das z.b ein Formular erst ausgefüllt wird wenn der TWebBrowser1 die Seite www.Irgendwas.de vollständig geladen hat ?? Wäre echt froh wenn ihr mir helfen könntet.

Thx

P.S Vieleicht ist es eine blöde Frage aber ich hab halt noch nicht soviel ahnung davon :roll:
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: Fr 05.09.03 20:21 
Hallo,

wie wär's denn mit dem Ereignis "OnNavigateComplete2"...

MfG,
FeG
schdom14 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP
D7 Enterprise
BeitragVerfasst: Fr 05.09.03 20:44 
Hääää ???
ne keine Ahnung wie das geht :oops:
wie und wo muss ich das den einbinden ???

Sorry aber ich bin halt noch ein Newbie :cry:

Thx
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Sa 06.09.03 08:48 
Also ein Ereignis steht im Objektinspektor in dem rechten Register. Dort doppelklickst du dann den freien Raum hinter OnNavigateComplete2 und Delphi springt zum Editor. Dort sollte jetzt etwas wie TForm1.WebBrowser1NavigateComplete2 stehen (Abweichungen möglich). Dort kannst du jetzt den Quellcode eingeben, der erst nach dem Vollständigen laden ausgeführt werden soll.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
schdom14 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP
D7 Enterprise
BeitragVerfasst: Sa 06.09.03 11:31 
cool danke hat alles geklappt

Thx
JustusJonas
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 222



BeitragVerfasst: Mo 08.09.03 14:56 
Leider funktioniert das nicht immer, deshalb finde ich folgendes besser:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
repeat
      Application.ProcessMessages;
      Sleep(100);
until WebBrowser1.ReadyState = 4;


Greetz