Recent

Author Topic: Can the IPro components be used to display a web page? (Linux)  (Read 10672 times)

dkjMusic

  • Full Member
  • ***
  • Posts: 146
Can the IPro components be used to display a web page? (Linux)
« on: December 04, 2010, 05:29:29 pm »
I have two components on my IPro tab in Lazarus: TIpFileDataProvider and TIpHtmlPanel.

Can these be used with a specified URL to display the corresponding page in a form? If so, how?

I looked at the examples included and didn't get any insight.
Windows 7 Ultimate/32 bit;
Lazarus 0.9.31/Rev 33300;
FPC 2.7.1/Rev 19464;
GDB 7.0.50;
(via CodeTyphon 2.30)

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1933
Re: Can the IPro components be used to display a web page? (Linux)
« Reply #1 on: December 04, 2010, 06:15:44 pm »
Afaik no. You need some networking components to download the files first.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Can the IPro components be used to display a web page? (Linux)
« Reply #2 on: December 04, 2010, 07:26:13 pm »
Can these be used with a specified URL to display the corresponding page in a form? If so, how?

You might take a look at this custom component and see if you can get the example apps running:

http://wiki.lazarus.freepascal.org/GeckoPort

Since this control embeds the Firefox runtime, you can do just about anything that Firefox can do, including run JavaScript apps.

I don't use Linux so I can't say whether it works there yet, but it does work with Windows and Mac.

JoshyFun and I are working on this again...

Check out the latest source here:

svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/geckoport [local dir]

Thanks.

-Phil

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: Can the IPro components be used to display a web page? (Linux)
« Reply #3 on: February 12, 2011, 05:15:47 pm »
Lazarus Rocks ;D

 

TinyPortal © 2005-2018