Recent

Author Topic: Browsing a webpage  (Read 4487 times)

asdf

  • Sr. Member
  • ****
  • Posts: 310
Browsing a webpage
« on: May 20, 2011, 09:36:24 am »
Instead of leaving a big or an empty area in the first form in my program - I would like to have a rectangular control such as a TPanel etc. placed in the form like the attached picture. In such control it will work like a single/simple tab browser. If a user clicked at a Hyperlink in such control, it would open the IE or FireFox etc. in another window.

What is the exact control for such purpose ? And could you please give simple/sample coding ?
« Last Edit: May 20, 2011, 09:38:04 am by asdf »
Lazarus 1.2.4 / Win 32 / THAILAND

RudieD

  • Full Member
  • ***
  • Posts: 234
Re: Browsing a webpage
« Reply #1 on: May 20, 2011, 11:26:07 am »
One component the you can use is TIpHtmlPanel (In the IPro package).
See ${Lazarus}/examples/turbopower_ipro for example.
The FRED Trainer. (Training FRED with Lazarus/FPC)

asdf

  • Sr. Member
  • ****
  • Posts: 310
Re: Browsing a webpage
« Reply #2 on: June 07, 2011, 10:11:14 am »
In the sample project of that, it only opens html files.
But I would like to have a panel in my TForm that can browse a website such as www.freepascal.org
Lazarus 1.2.4 / Win 32 / THAILAND

bobo

  • Full Member
  • ***
  • Posts: 171

 

TinyPortal © 2005-2018