Autor Beitrag
Bennle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101

WinXP
Delphi 2007 Pro, C# (VS 2005)
BeitragVerfasst: Mo 16.05.05 19:42 
Hallo,
Wie der Titel schon verrät, möchte ich meine Scrollbar entfernen.(im TWebBrowser)
Ich habe schon artikel dazu gefunden, allerdings funktionieren die nicht!

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
// Switch off scrollbars
WB.OleObject.document.body.style.overflowX := 'hidden';
WB.OleObject.document.body.style.overflowY := 'hidden';

// Switch off borders
WB.OleObject.document.body.style.borderstyle := 'none';


Kann mir jemdand weiter helfen?

MfG
Bennle

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.
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: Mo 16.05.05 20:47 
Kriegst du ne AV?
Bei mir ist das so, dass der Code nur funtzt, wenn eine Webseite geladen ist (und sei es nur about:blank, ABER es MUSS eine geladen werden). Sonst kriege ich entweder eine AV, oder gar nix passiert (eins von beiden, weiß ich grade nicht auswendig)

_________________
Programmers never die, they just GOSUB without RETURN
Bennle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101

WinXP
Delphi 2007 Pro, C# (VS 2005)
BeitragVerfasst: Mo 16.05.05 21:18 
Titel: GUI aber wie?
Hallo,
Nein bekomme ich nicht, da ich eben eine seite geladen habe!
Ich habe mittlerweile das Demo von [url]ttp://www.delphidabbler.com/articles.php?article=18[/url] heruntergeladen, und es ist wirklich super, nur wie genau kann ich die GUI verwenden?

Ich komme nicht richtig damit klar!
Ich würde es gerne einbinden können und einfach per Befehl aufrufen!

Wenn das geht, dann wäre eine kleine Anleitung nicht schlecht :P

Danke

MfG
Bennle