Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-12

Searching HTML component

14 messages · 7 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

andrew johnson
to Unknown author: That should be possible. But that doesn't do us any good on linux. I think that a HTML…

This was already discussed on the developers list, that we don't want a lot of high level overhead and extra depends.. so gecko is probably out, and mozilla definitely is. And gtkhtml was already discussed and discarded by Mattias because of its GNOME depends.

Andrew

Show quoted text 33 lines
On Tue, 10 Dec 2002, Florian Klaempfl wrote: > Tony Maro wrote: > > The only HTML I was able to ever find for Delphi was based on the > > Microsloth ActiveX component for IE. Why reinvent the wheel and all > > that... unfortunately that doesn't do us a lot of good. I also searched > > through DSP for components with source and couldn't find anything. > > Hmmm, isn't it possible to use Gecko/Mozilla? That should be possible. > > OTOH the lcl needs way to incoperate high level components like ActiveX > anyways. But that doesn't do us any good on linux. I think that a HTML widget is needed, and it could be implemented differently on Windows than on linux. On linux, using gecko may be your best shot in terms of functionality, but the gtkhtml component may be the easiest to use: http://www.icewalkers.com/softlib/app/app_00991.html ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml/1.1/gtkhtml-1.1.6.tar.gz Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author
to Florian Klaempfl: Hmmm, isn't it possible to use Gecko/Mozilla? OTOH the lcl needs way to incoperate high…
Florian Klaempfl wrote 7 lines
Tony Maro wrote: > The only HTML I was able to ever find for Delphi was based on the > Microsloth ActiveX component for IE. Why reinvent the wheel and all > that... unfortunately that doesn't do us a lot of good. I also searched > through DSP for components with source and couldn't find anything. Hmmm, isn't it possible to use Gecko/Mozilla?

That should be possible.

OTOH the lcl needs way to incoperate high level components like ActiveX anyways.

But that doesn't do us any good on linux. I think that a HTML widget is needed, and it could be implemented differently on Windows than on linux.

On linux, using gecko may be your best shot in terms of functionality, but the gtkhtml component may be the easiest to use:

http://www.icewalkers.com/softlib/app/app_00991.html ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml/1.1/gtkhtml-1.1.6.tar.gz

Michael.

Reply by email

Tony Maro
to Unknown author
andrew johnson wrote 5 lines
This was already discussed on the developers list, that we don't want a lot of high level overhead and extra depends.. so gecko is probably out, and mozilla definitely is. And gtkhtml was already discussed and discarded by Mattias because of its GNOME depends.

Of course this doesn't stop someone from releasing their own component that utilizes it.

Don't look at me! I've done my yearly allotment! And I'm clueless about GTK - that's why I chose Lazarus.

-Tony

Reply by email

Shane Miller

In Delphi I use HTMLLITE. It's not Open Source but the source is included. It doesn't depend on IE.

Shane

Earlier message 20 lines
-----Original Message----- From: Mattias Gaertner Sent: Tuesday, December 10, 2002 10:54 AM To: Subject: [lazarus] Searching HTML component Hi all, I need a simple HTML browser component for the LCL. Does anybody know a Delphi component, that is open source, does not require any special libs, but only VCL? Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner

Hi all,

I need a simple HTML browser component for the LCL. Does anybody know a Delphi component, that is open source, does not require any special libs, but only VCL?

Mattias

Reply by email

Florian Klaempfl
to Mattias Gaertner: I need a simple HTML browser component for the LCL. Does anybody know a Delphi component,…
Tony Maro wrote
The only HTML I was able to ever find for Delphi was based on the Microsloth ActiveX component for IE. Why reinvent the wheel and all that... unfortunately that doesn't do us a lot of good. I also searched through DSP for components with source and couldn't find anything.

Hmmm, isn't it possible to use Gecko/Mozilla?

OTOH the lcl needs way to incoperate high level components like ActiveX anyways.

Reply by email

Tony Maro
to Mattias Gaertner: I need a simple HTML browser component for the LCL. Does anybody know a Delphi component,…

The only HTML I was able to ever find for Delphi was based on the Microsloth ActiveX component for IE. Why reinvent the wheel and all that... unfortunately that doesn't do us a lot of good. I also searched through DSP for components with source and couldn't find anything.

Mattias Gaertner wrote 13 lines
Hi all, I need a simple HTML browser component for the LCL. Does anybody know a Delphi component, that is open source, does not require any special libs, but only VCL? Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author
to andrew johnson: This was already discussed on the developers list, that we don't want a lot of high level…
andrew johnson wrote
This was already discussed on the developers list, that we don't want a lot of high level overhead and extra depends.. so gecko is probably out, and mozilla definitely is. And gtkhtml was already discussed and discarded by Mattias because of its GNOME depends.

In that case you have little choice but to write it yourself. I would suggest a modular approach: A parser with hooks, and a renderer which uses the parser. The parser could go in the FCL.

If it's any help: The FCL contains a RTF reader which I ported some years ago. I wrote a RTF panel that displayed the RTF to go with it (based on TLabel and TCanvas, so that should port easily). If need be I can dig up the code and send that, you can have a look at it for starters.

Come to think of it, having the RTF panel may be a good idea in itself for Lazarus.

Michael.

Reply by email

Sebastian Günther
to Unknown author: Let's have it, then ! Michael.
Show quoted text 5 lines
>...btw, I have one lying around for over 2 years now, it just didn't get >into the FCL yet... Let's have it, then !

okay, I've committed everything to CVS (both branches), together with some other patches/extensions to the XML units.
But beware that I didn't use the HTML parser for almost 2 years; I've just adapted it to current versions of the other XML helper units, but didn't test them yet.

- Sebastian

Reply by email

Unknown author
to Sebastian Günther: ...btw, I have one lying around for over 2 years now, it just didn't get into the FCL…
Show quoted text 8 lines
schrieb: > > In that case you have little choice but to write it yourself. I would > suggest a modular approach: A parser with hooks, and a renderer which > uses the parser. The parser could go in the FCL. ...btw, I have one lying around for over 2 years now, it just didn't get into the FCL yet...

Let's have it, then !

Michael.

Reply by email