Sign in Join

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

Mailing lists / fpc-pascal / 2009-01

absolute beginner

24 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

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

Unknown author

I am an old goat for what concerns Delphi, but I am an abolute beginner re FPC.

One simple question:

is there around any (free or commercial) grid component like TProfGrid (www.profgrid.com) for FPC ?

Or (still better) which chances are that the code of TProfGrid would compile with FPC ?

Thank you

Duilio Foschi

Reply by email

Joost van der Sluis
to dmitry boyarintsev

Op zaterdag 31-01-2009 om 21:43 uur [tijdzone +0300], schreef dmitry boyarintsev:

> Or (still better) which chances are that the code of TProfGrid would > compile with FPC ? chances are very high, since FPC supports delphi dialect {$ifdef fpc}{$mode delphi}{$h+}{$endif}

No, chances are very low. It's a component which will most-probably depend on several vcl-internals with which the FCL is incompatible. Because the FCL has to deal with several widgetsets and OS'es. While Delphi's vcl is windows-only.

Joost

Reply by email

dmitry boyarintsev
to Joost van der Sluis
No, chances are very low. It's a component which will most-probably depend on several vcl-internals with which the FCL is incompatible. Because the FCL has to deal with several widgetsets and OS'es. While Delphi's vcl is windows-only.

Chances depend on how component is actually implemented. I guess it's very bad practise to make any component to be hardly bound to vcl-internal. It's risky, because vcl-intercals can change (and did change) from one version delphi to another.

I've had to port a couple of components myself, it was not too hard.

If component is windows dependant, then LCL provides replacment for most common WinAPI functions.

Thanks,
Dmitry

Reply by email

duilio foschi
to dmitry boyarintsev

Dmitry,

what is LCL ?

A research in the net brought 'Le Crédit Lyonnais', but I doubt that this is the correct anser :)

Thank you

Duilio

2009/2/1 dmitry boyarintsev :

Show quoted text 20 lines
> No, chances are very low. It's a component which will most-probably > depend on several vcl-internals with which the FCL is incompatible. > Because the FCL has to deal with several widgetsets and OS'es. While > Delphi's vcl is windows-only. Chances depend on how component is actually implemented. I guess it's very bad practise to make any component to be hardly bound to vcl-internal. It's risky, because vcl-intercals can change (and did change) from one version delphi to another. I've had to port a couple of components myself, it was not too hard. If component is windows dependant, then LCL provides replacment for most common WinAPI functions. Thanks, Dmitry _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

duilio foschi
to dmitry boyarintsev

wow! There is a whole world to explore !

Thank you

Duilio

2009/2/1 dmitry boyarintsev :

Show quoted text 17 lines
> what is LCL ? > A research in the net brought 'Le Crédit Lyonnais', but I doubt that > this is the correct anser :) LCL stands for Lazarus Component Library, see this page for more details http://wiki.lazarus.freepascal.org/Lazarus_Documentation If you want to create a delphi-like visual component, it's very probable, that you're going to use LCL and Lazarus IDE. lazarus.freepascal.org Thanks, Dmitry _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to duilio foschi: wow! There is a whole world to explore ! Thank you Duilio 2009/2/1 dmitry boyarintsev :
duilio foschi wrote
wow! There is a whole world to explore !

:-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with Free Pascal. LCL is not the only one, there are custom written toolkits as well - all implemented in Object Pascal.

fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

MSEide+MSEgui
http://homepage.bluewin.ch/msegui/

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Unknown author
to Graeme Geldenhuys

my mouth is wide open for surprise and refuses to close :)

Thank you

Duilio

2009/2/2, Graeme Geldenhuys :

Show quoted text 28 lines
On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi wrote: > wow! There is a whole world to explore ! :-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with Free Pascal. LCL is not the only one, there are custom written toolkits as well - all implemented in Object Pascal. fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ MSEide+MSEgui http://homepage.bluewin.ch/msegui/ Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Nataraj S Narayan
to Graeme Geldenhuys: :-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with…

Hi

I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ?

regards

Nataraj

Graeme Geldenhuys wrote 27 lines
On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi wrote: > wow! There is a whole world to explore ! :-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with Free Pascal. LCL is not the only one, there are custom written toolkits as well - all implemented in Object Pascal. fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ MSEide+MSEgui http://homepage.bluewin.ch/msegui/ Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to Nataraj S Narayan
Nataraj S Narayan wrote
I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ?

I don't know FoxLib. Is that a custom drawn toolkit or a wrapper for other toolkits like GTK, Win32 etc? If it's the latter, then Lazarus LCL already talks (wraps) the main GUI toolkits like Qt, GTK1 & GTK2, Win32 etc... Lazarus doesn't need a wrapper for a wrapper toolkit (hence the reason wxWidgets is not supported).

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Krishna
to Graeme Geldenhuys
Graeme Geldenhuys wrote 7 lines
On Mon, Feb 2, 2009 at 10:40 AM, Nataraj S Narayan wrote: > > I have had a good time with FoxLib Gui, calling from Ruby. Why is that > there isnt an integration of Fox in Lazarus/Fpc ? I don't know FoxLib. Is that a custom drawn toolkit or a wrapper for other toolkits like GTK, Win32 etc?

Custom drawn with a Windows 2000 look on all platforms.

Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen

Reply by email

Michael Van Canneyt
to Nataraj S Narayan: Hi I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an…
Nataraj S Narayan wrote
Hi I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ?

Because no-one has made a widgetset based on it. This is also the first request ever.

Given that it is written in C++ - and that is always a pain - this will not be an easy task either.

Michael.

Show quoted text 38 lines
regards Nataraj On Mon, Feb 2, 2009 at 1:24 PM, Graeme Geldenhuys wrote: > On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi wrote: >> wow! There is a whole world to explore ! > > :-) And it doesn't stop there... you even have a choice of GUI > toolkits you can use with Free Pascal. LCL is not the only one, there > are custom written toolkits as well - all implemented in Object > Pascal. > > fpGUI - a cross-platform Free Pascal GUI toolkit > http://opensoft.homeip.net/fpgui/ > > MSEide+MSEgui > http://homepage.bluewin.ch/msegui/ > > > > Regards, > - Graeme - > > > _______________________________________________ > fpGUI - a cross-platform Free Pascal GUI toolkit > http://opensoft.homeip.net/fpgui/ > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Nataraj S Narayan
to Krishna: On Mon, Feb 2, 2009 at 2:16 PM, Graeme Geldenhuys Custom drawn with a Windows 2000 look…

Hi

Well, I don't think its a wrapper because i did use it without gtk installed.

Plz have a look at http://www.fox-toolkit.org/.

regards

Nataraj

Krishna wrote 21 lines
On Mon, Feb 2, 2009 at 2:16 PM, Graeme Geldenhuys wrote: > On Mon, Feb 2, 2009 at 10:40 AM, Nataraj S Narayan wrote: >> >> I have had a good time with FoxLib Gui, calling from Ruby. Why is that >> there isnt an integration of Fox in Lazarus/Fpc ? > > I don't know FoxLib. Is that a custom drawn toolkit or a wrapper for > other toolkits like GTK, Win32 etc? Custom drawn with a Windows 2000 look on all platforms. -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to Krishna: On Mon, Feb 2, 2009 at 2:16 PM, Graeme Geldenhuys Custom drawn with a Windows 2000 look…
Krishna wrote
Custom drawn with a Windows 2000 look on all platforms.

Do you have a link to FoxLib? A quick google search did not reveal a obvious choice.

As for the Windows 2000 look. I am planning on implementing the LCL-fpGUI widgetset during 2009. fpGUI will have a built-in Win2000 look (including a few others), so hopefully that will fill that requirement. ;-)

I'm always interested in other custom drawn toolkits. It's normally a great inspiration for features I can possibly add to fpGUI Toolkit.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Nataraj S Narayan
to Michael Van Canneyt: Because no-one has made a widgetset based on it. This is also the first request ever.…

You mean its just another one out there?

I have used the Ruby wrappers of this called FxRuby on Arm-linux boards. Aint crashed or given a problem. But the calender widget was missing till Foxlib 1.6. Otherwise neat stuff.

C++ ought to be good aint it? Even Firefox RDBMS was written in C++?

rgards

Nataraj

Michael Van Canneyt wrote 59 lines
On Mon, 2 Feb 2009, Nataraj S Narayan wrote: > Hi > > I have had a good time with FoxLib Gui, calling from Ruby. Why is that > there isnt an integration of Fox in Lazarus/Fpc ? Because no-one has made a widgetset based on it. This is also the first request ever. Given that it is written in C++ - and that is always a pain - this will not be an easy task either. Michael. > > regards > > Nataraj > > On Mon, Feb 2, 2009 at 1:24 PM, Graeme Geldenhuys > wrote: > > On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi wrote: > >> wow! There is a whole world to explore ! > > > > :-) And it doesn't stop there... you even have a choice of GUI > > toolkits you can use with Free Pascal. LCL is not the only one, there > > are custom written toolkits as well - all implemented in Object > > Pascal. > > > > fpGUI - a cross-platform Free Pascal GUI toolkit > > http://opensoft.homeip.net/fpgui/ > > > > MSEide+MSEgui > > http://homepage.bluewin.ch/msegui/ > > > > > > > > Regards, > > - Graeme - > > > > > > _______________________________________________ > > fpGUI - a cross-platform Free Pascal GUI toolkit > > http://opensoft.homeip.net/fpgui/ > > _______________________________________________ > > fpc-pascal maillist - > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to Nataraj S Narayan: Hi Well, I don't think its a wrapper because i did use it without gtk installed. Plz have…
Nataraj S Narayan wrote
Plz have a look at http://www.fox-toolkit.org/.

Thanks for the link, I'll take a look. As Michael said, we haven't seen anybody request support for Fox Toolkit in Lazarus yet.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Nataraj S Narayan
to Graeme Geldenhuys: Do you have a link to FoxLib? A quick google search did not reveal a obvious choice. As…

Hi Graeme

http://www.fox-toolkit.org/

regards

Nataraj

Graeme Geldenhuys wrote 26 lines
On Mon, Feb 2, 2009 at 11:01 AM, Krishna wrote: > > Custom drawn with a Windows 2000 look on all platforms. Do you have a link to FoxLib? A quick google search did not reveal a obvious choice. As for the Windows 2000 look. I am planning on implementing the LCL-fpGUI widgetset during 2009. fpGUI will have a built-in Win2000 look (including a few others), so hopefully that will fill that requirement. ;-) I'm always interested in other custom drawn toolkits. It's normally a great inspiration for features I can possibly add to fpGUI Toolkit. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Unknown author
to Nataraj S Narayan

Graeme,

I cannot reach the link

http://opensoft.homeip.net/fpgui/

in your sign.

Could you please check ?

Thank you

Duilio

2009/2/2, Nataraj S Narayan :

Show quoted text 40 lines
Hi Graeme http://www.fox-toolkit.org/ regards Nataraj On Mon, Feb 2, 2009 at 2:45 PM, Graeme Geldenhuys wrote: > On Mon, Feb 2, 2009 at 11:01 AM, Krishna wrote: >> >> Custom drawn with a Windows 2000 look on all platforms. > > Do you have a link to FoxLib? A quick google search did not reveal a > obvious choice. > > As for the Windows 2000 look. I am planning on implementing the > LCL-fpGUI widgetset during 2009. fpGUI will have a built-in Win2000 > look (including a few others), so hopefully that will fill that > requirement. ;-) > > I'm always interested in other custom drawn toolkits. It's normally a > great inspiration for features I can possibly add to fpGUI Toolkit. > > Regards, > - Graeme - > > > _______________________________________________ > fpGUI - a cross-platform Free Pascal GUI toolkit > http://opensoft.homeip.net/fpgui/ > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marco van de Voort
to Nataraj S Narayan: You mean its just another one out there? I have used the Ruby wrappers of this called…

In our previous episode, Nataraj S Narayan said:

Show quoted text 5 lines
I have used the Ruby wrappers of this called FxRuby on Arm-linux boards. Aint crashed or given a problem. But the calender widget was missing till Foxlib 1.6. Otherwise neat stuff. C++ ought to be good aint it? Even Firefox RDBMS was written in C++?

C++ is not easy to interface from other languages (and that includes other C++ compilers too)

Reply by email

Graeme Geldenhuys
to Unknown author: I cannot reach the link http://opensoft.homeip.net/fpgui/ in your sign. Could you please…
Show quoted text 5 lines
I cannot reach the link http://opensoft.homeip.net/fpgui/ Could you please check ?

I restarted the firewall. Please try again. I've had other users connect to the news server this morning (web and nntp interface), so it should work. I can access it from our company network as well.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Nataraj S Narayan
to Marco van de Voort: In our previous episode, Nataraj S Narayan said: C++ is not easy to interface from other…

Oops! I meant Firebird RDBMS, not Firefox!

regards

Nataraj

Marco van de Voort wrote 13 lines
In our previous episode, Nataraj S Narayan said: > I have used the Ruby wrappers of this called FxRuby on Arm-linux > boards. Aint crashed or given a problem. But the calender widget was > missing till Foxlib 1.6. Otherwise neat stuff. > > C++ ought to be good aint it? Even Firefox RDBMS was written in C++? C++ is not easy to interface from other languages (and that includes other C++ compilers too) _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email