Autor Beitrag
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 03.08.05 17:41 
Hi,
ich schreibe grade an nem Tabbed-Browsing Webbrowser, basierend auf dem IE (via TEmbeddedWB[ab jetzt genannt: eWB]). Jetzt würde ich aber gerne anstatt des Suchen- Dialogs, den man einbinden kann (wers das wissen will suche auf www.swissdelphicenter.ch) eine eigene Toolbar machen, die genau diese Funktionen hat. Vorbild ist hier mal wieder FireFox :D
Das bedeutet, das ich zwei sachen rausfinden muss:
1. Wie durchsucht man eine Webseite im TEmbeddedWB ohne sie extern runterzuladen(TWebbrowser geht auch, wenn jemand ne Lösung für hat, der eWB ist ja vom TWebbrowser abgeleitet)?
2. Wie springt man zu der Lösungsstelle im Browser und markiert sie?

So ein paar Ideen hätte ich schon, sind aber sehr wage und theoretisch:
zu 1.: Man könnte aus dem Browser den Quelltext direkt auslesen (hab ne Methode, mit der das geht [Quelle mal wieder Swissdelphicenter]) und dann alle Tags entfernen(Achtung: auch Grafikpfade etc.!). Was man dann hat ist eine Textdatei, die sich einfach durchsuchen lässt.
zu 2.: seeehhhhr viiieeeelllleeee Ideen, nämlich KEINE

_________________
Programmers never die, they just GOSUB without RETURN
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 03.08.05 18:48 
Hallo,

die Schweitzer haben noch mehr :wink:
...Text im TWebBrowser finden und markieren?

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Do 04.08.05 16:55 
tja, die haben so einiges, da übersieht man mal gerne was... Danke!

_________________
Programmers never die, they just GOSUB without RETURN