How can we creat a WebBrowser on Linux by Kylix?

Thank you
Who is Participating?
Karl Heinz KremerConnect With a Mentor Commented:
The Delphi system will very likely add an IE control to your application. Linux does not support controls like this, which means that you have to do this manually. You need to add e.g. the Mozilla rendering engine 'Gecko' to your application and call it whenever you need the browser.

However, this is not how things are usually done in Linux. THe standard approch to this is to call an external browser and just hand off the URL you want to display.

So, welcome to the wonderful world of Linux programming :-)
specify your question a bit better thx.

ntvietvnAuthor Commented:
I tried to do an application with TEdit,TButton  who works like the  Mozila Navigator. I want that when I enter an URL in Edit1 and click on this Button, the web page will load  in the application. I managed to do it on Delphi but not on Kylix. Could anyone help me, please? Thank you.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

ntvietvnAuthor Commented:
Thanks a lot, but I don't know how to call an external browser with kylix. Could you help me please ?
Karl Heinz KremerCommented:
I'm not familiar with Kylix, so the real work is up to you ;-) You can probably call an external program (with something like a system() call). Once you know how to do that, you need to find out which browser to call. Because there is not just one browser, the most straight forward approach is to let your users configure which browser to use. There are a few browser locations you can try first if you don't have a specific path configured:


a better way is to look, how the browsers in linux are made. See the source codes. But that wont be so easy.

galeon was made using features of mozilla. see its codes to know how to call functions of mozilla.

regards manish
Karl Heinz KremerCommented:
manish, thanks for supporting my first suggestion :-)
> .. the web page will load  in the application ..
if you mean that the HTML code should be rendered, see previous comments.
If you mean that you just want to display the text, then the usual way is somehow like (pseudo code):
  open(FILEHANDLE, "web page" );
  read( FILEHANDLE );
  write( FILEHANDLE );
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.