Sign in Join

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

Mailing lists / lazarus / 2009-06

Migrating Delphi application in Lazarus cross-platform

14 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Antonio Sanguigni

Hi all,

I would like to migrate an application from Delphi 7(win32) in Lazarus, so that could run also in Linux.
I believe the point that can give me some problem is the use I made in my application of TWebBrowser. The user have to login into a private (ASP) website, navigate until the page where are the row I need to parse to fill the db. So, is there a chance I can replace TWebBrowser with a cross-platform one ?

Thanks
Antonio

Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup

Reply by email

Mattias Gaertner
to Antonio Sanguigni
Show quoted text 9 lines
Hi all, I would like to migrate an application from Delphi 7(win32) in Lazarus, so that could run also in Linux. I believe the point that can give me some problem is the use I made in my application of TWebBrowser. The user have to login into a private (ASP) website, navigate until the page where are the row I need to parse to fill the db. So, is there a chance I can replace TWebBrowser with a cross-platform one ?

Just an idea:
For the visual control you can try the turbopower ipro control. For the secure connection you can use synapse.

Mattias

Reply by email

Toan Pham
to Mattias Gaertner

There's no TWebbrowser in Lazarus/fpc as it is an ie based component.

You'll have to change your design not to use TWebbrowser.

Mattias Gaertner wrote 25 lines
On Tue, 9 Jun 2009 11:30:34 +0200 Antonio Sanguigni wrote: > Hi all, > > I would like to migrate an application from Delphi 7(win32) in > Lazarus, so that could run also in Linux. > I believe the point that can give me some problem is the use I made in > my application of TWebBrowser. The user have to login into a private > (ASP) website, navigate until the page where are the row I need to > parse to fill the db. So, is there a chance I can replace TWebBrowser > with a cross-platform one ? Just an idea: For the visual control you can try the turbopower ipro control. For the secure connection you can use synapse. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Antonio Sanguigni
to Toan Pham
There's no TWebbrowser in Lazarus/fpc as it is an ie based component.

Yes, I know.

You'll have to change your design not to use TWebbrowser.

Thank you, I will try to follow Mattias' hint, trying with Synapse and Turbopower partial set of IpPro suite.

Antonio

Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup

Reply by email

Osvaldo Filho
to Antonio Sanguigni

QT4, has a webkit.

Antonio Sanguigni wrote 12 lines
> There's no TWebbrowser in Lazarus/fpc as it is an ie based component. Yes, I know. > You'll have to change your design not to use TWebbrowser. Thank you, I will try to follow Mattias' hint, trying with Synapse and Turbopower partial set of IpPro suite. Antonio

Reply by email

Unknown author
to Antonio Sanguigni: I would like to migrate an application from Delphi 7(win32) in Lazarus, so that could run…

Hi Antonio,
My suggestion would be to move to something like the PBear THTMLViewer which is written in Pascal.
I've used it successfully in Windows projects.
One of the guys on here has already started work on a port to Lazarus and it can be found here -
http://web.fastermac.net/~MacPgmr/Lazarus/thtmlport_20090518.zip but he's unable to continue the port as he's moved onto Mono and C#.

If you, or anyone else decide to use PBear, maybe we could all co-ordinate our efforts and work on getting this port working on as many FPC supported platforms as possible. I also need a cross-platform embedded HTML viewer ( Mainly for Linux and Mac OS X ),
so plan to start looking through the above code this week-end.

Dominique.

On Tue, 9 Jun 2009 11:30:34 +0200, Antonio Sanguigni

Show quoted text 13 lines
Hi all, I would like to migrate an application from Delphi 7(win32) in Lazarus, so that could run also in Linux. I believe the point that can give me some problem is the use I made in my application of TWebBrowser. The user have to login into a private (ASP) website, navigate until the page where are the row I need to parse to fill the db. So, is there a chance I can replace TWebBrowser with a cross-platform one ? Thanks Antonio

Reply by email

Žilvinas Ledas
to Unknown author

Hi Dominique,

I am interested in HTML viewer too. Now I'm using customized TIpHtmlPanel with Indy, but more powerfull HTML viewer would be great. I don't know how much useful I could be but I'd like to follow progress and contribute if I feel I am able to. (As for now I am using Pascal only time to time. I hope to resume my Lazarus-based project after two months.)

Can you shortly write what is the status of current port (what is working and on what platforms, what is needed to be done)?

Regards,
Zilvinas

Show quoted text 17 lines
Hi Antonio, My suggestion would be to move to something like the PBear THTMLViewer which is written in Pascal. I've used it successfully in Windows projects. One of the guys on here has already started work on a port to Lazarus and it can be found here - http://web.fastermac.net/~MacPgmr/Lazarus/thtmlport_20090518.zip but he's unable to continue the port as he's moved onto Mono and C#. If you, or anyone else decide to use PBear, maybe we could all co-ordinate our efforts and work on getting this port working on as many FPC supported platforms as possible. I also need a cross-platform embedded HTML viewer ( Mainly for Linux and Mac OS X ), so plan to start looking through the above code this week-end. Dominique.

Reply by email

Unknown author
to Žilvinas Ledas

Hi Zilvinas
I just had a few minutes to play with it on a Win32 box and at the moment with a couple of IFNDEF LCLs it compiles and installs into the Lazarus component palette. You can drop the components on a form, but currently the THTMLViewer flickers at design time and I'm not able to display any HTML just yet. I'll give it a quick try on my MacBook this evening, to see if I get any further.

Dominique.

?ilvinas Ledas wrote 22 lines
Hi Dominique, I am interested in HTML viewer too. Now I'm using customized TIpHtmlPanel with Indy, but more powerfull HTML viewer would be great. I don't know how much useful I could be but I'd like to follow progress and contribute if I feel I am able to. (As for now I am using Pascal only time to time. I hope to resume my Lazarus-based project after two months.) Can you shortly write what is the status of current port (what is working and on what platforms, what is needed to be done)? Regards, Zilvinas wrote: > Hi Antonio, > My suggestion would be to move to something like the PBear THTMLViewer > which is written in Pascal. > I've used it successfully in Windows projects. > One of the guys on here has already started work on a port to Lazarus

and

Show quoted text 20 lines
> it can be found here - > http://web.fastermac.net/~MacPgmr/Lazarus/thtmlport_20090518.zip > but he's unable to continue the port as he's moved onto Mono and C#. > > If you, or anyone else decide to use PBear, maybe we could all > co-ordinate > our efforts and work on getting this port working on as many > FPC supported platforms as possible. I also need a cross-platform > embedded > HTML viewer ( Mainly for Linux and Mac OS X ), > so plan to start looking through the above code this week-end. > > Dominique. > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Eugen Bolz
to Unknown author
Show quoted text 11 lines
Hi Zilvinas I just had a few minutes to play with it on a Win32 box and at the moment with a couple of IFNDEF LCLs it compiles and installs into the Lazarus component palette. You can drop the components on a form, but currently the THTMLViewer flickers at design time and I'm not able to display any HTML just yet. I'll give it a quick try on my MacBook this evening, to see if I get any further. Dominique.

Hey Dominique,

is it allowed to use the sources in freeware/ opensource programm or even to change the sources?

If so, why you dont ask Vincent (i think) to add a folder to the CCR then we can all help to get it work with lazarus.

Best Regards,
Eugen

Reply by email

Unknown author
to Eugen Bolz

Hi Eugen,
Actually the project seems to have been open sourced and the latest Delphi code can be downloaded from
http://sourceforge.net/projects/htmlviewer

Looks like that version would need a bit of massaging to get it working with Lazarus, though.

Dominique.

Eugen Bolz wrote 25 lines
schrieb: > Hi Zilvinas > I just had a few minutes to play with it on a Win32 box and at the > moment > with a couple of IFNDEF LCLs it compiles and installs into the Lazarus > component palette. You can drop the components on a form, but currently > the > THTMLViewer flickers at design time and I'm not able to display any HTML > just yet. I'll give it a quick try on my MacBook this evening, to see if > I > get any further. > > Dominique. > > Hey Dominique, is it allowed to use the sources in freeware/ opensource programm or even to change the sources? If so, why you dont ask Vincent (i think) to add a folder to the CCR then we can all help to get it work with lazarus. Best Regards, Eugen

Reply by email

Antonio Sanguigni
to Unknown author: My suggestion would be to move to something like the PBear THTMLViewer which is written…
Show quoted text 14 lines
?My suggestion would be to move to something like the PBear THTMLViewer which is written in Pascal. I've used it successfully in Windows projects. One of the guys on here has already started work on a port to Lazarus and it can be found here - http://web.fastermac.net/~MacPgmr/Lazarus/thtmlport_20090518.zip but he's unable to continue the port as he's moved onto Mono and C#. If you, or anyone else decide to use PBear, maybe we could all co-ordinate our efforts and work on getting this port working on as many FPC supported platforms as possible. I also need a cross-platform embedded HTML viewer ( Mainly for Linux and Mac OS X ), so plan to start looking through the above code this week-end.

Hi Dominique,

thanks for your advice. I had a look under windows and I have the same your problem. I have still to try under Linux. But TurboPower iPro is really powerfull, even if I had to manage it a bit, too.

Antonio

Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup

Reply by email

Osvaldo Filho
to Antonio Sanguigni

No. Try this list:
Items specific to the Qt widget set

Antonio Sanguigni wrote 9 lines
> QT4, has a webkit. It seems to work well enough. Do you know if there is a way to activate cookies and javascript under that engine ? Thanks Antonio

Reply by email