Autor Beitrag
Dusty
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: So 27.04.03 12:55 
Wie kann ich eine HTML-Seite darstellen, ohne auf eine Datei zurückzugreifen?

Also so eine Art "TWebBrowser.Navigate(TStrings);" suche ich.
GruppeCN
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 322



BeitragVerfasst: Mo 28.04.03 20:59 
ausblenden Quelltext
1:
2:
3:
4:
5:
var path:string;
begin
  path := 'file:///C:\Ordner\datei.html';
  WebBrowser1.Navigate(path);
end;


Einfach nur file:/// vor den Code!

_________________
Warum sind die Sachen, die du suchst, immer da, wo du zuletzt nachsiehst?
Weil du aufhörst zu suchen, wenn du sie gefunden hast.
Dusty Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: Di 29.04.03 19:18 
Titel: Das ganze OHNE Datei ...
Na, ich will doch gerade KEINE Datei anzeigen, sondern nur eine Speichervariable!

Also Email-Inhalt (HTML) ohne diese in Datei zu speichern sofort anzeigen im HTML-Browser.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 29.04.03 19:48 
Als Path ein 'about:' davor und dahinter der HTML-Code.
Also
ausblenden Quelltext
1:
2:
3:
4:
5:
var path:string;
begin
  path := 'about:<b>Hello, I'm</b> not bold';
  WebBrowser1.Navigate(path);
end;

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Dusty Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62

Windows XP
Delphi 5 Enterprise
BeitragVerfasst: Do 01.05.03 17:25 
Klasse! Funktioniert!
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Do 01.05.03 18:13 
Eine weitere möglichkeit wäre, THTMLLite zu verwenden. Ist eine HTML-Komponente. Such mal auf torry.net nach der.
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Do 01.05.03 18:56 
Hallo,
Onz hat folgendes geschrieben:
Such mal auf torry.net nach der.

die gibt es unter www.pbear.com

Gruß
Klabautermann