Sign in Join

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

Mailing lists / lazarus / 2003-06

Lazarus Status and "How would I"

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Matt Henley

I have been looking at Lazarus lately because Borland's interest in Kylix seems to be on the downside. I have been working on a little project which is to be gpl'd if i ever get it to a stage that is presentable. I have made quite a bit of progress in the background calculation portion and have been working on the user interface and the database interface. The user interface is to be diagram based... like Dia or Visio, where the user drags building blocks onto a canvas and then connects them with lines. Any ideas on how to get started with this type of interface? I am more adjusted to the math and simulation portion and am new to the graphics part. Is lazarus and Free Pascal ready to be used for something like this? Are there existing components that could be leveraged for such? Any library that i create I would be willing to license as to be useable by everyone.

Second, what is the status of the database components? I am looking to use something like SQLite where a complete database can be saved as one file which looks to the user like a single project file.

Thanks for any help
Matt Henley

Reply by email

Michael Van Canneyt
to Mattias Gaertner: On 17 Jun 2003 18:47:16 -0500 There are a lot of possibilities. For example for the…
Mattias Gaertner wrote 35 lines
On 17 Jun 2003 18:47:16 -0500 Matt Henley wrote: > I have been looking at Lazarus lately because Borland's interest in > Kylix seems to be on the downside. I have been working on a little > project which is to be gpl'd if i ever get it to a stage that is > presentable. I have made quite a bit of progress in the background > calculation portion and have been working on the user interface and the > database interface. The user interface is to be diagram based... like > Dia or Visio, where the user drags building blocks onto a canvas and > then connects them with lines. Any ideas on how to get started with this > type of interface? There are a lot of possibilities. For example for the diagram you can create a new component based on TCustomControl. The drag&drop part could be somewhat tricky, as this is not yet complete in the LCL and so you need to handle it yourself. > I am more adjusted to the math and simulation portion > and am new to the graphics part. Is lazarus and Free Pascal ready to be > used for something like this? I think so. > Are there existing components that could > be leveraged for such? Any library that i create I would be willing to > license as to be useable by everyone. > > Second, what is the status of the database components? I am looking to > use something like SQLite where a complete database can be saved as one > file which looks to the user like a single project file. I will leave this to the fpc database cracks.

There are many possibilities; I suggest either

- Firebird: There is a low-level API translation and a TDataset descendent component available.

- sqlite: We have translated the API header files, so you can use it, but no TDataset component yet. Having done the translation, I think it should not be hard to implement.

I currently recommend against mysql, since it has a fluctuating API interface, and people too often report problems.

Michael.

Reply by email

Mattias Gaertner
to Matt Henley: I have been looking at Lazarus lately because Borland's interest in Kylix seems to be on…
Show quoted text 9 lines
I have been looking at Lazarus lately because Borland's interest in Kylix seems to be on the downside. I have been working on a little project which is to be gpl'd if i ever get it to a stage that is presentable. I have made quite a bit of progress in the background calculation portion and have been working on the user interface and the database interface. The user interface is to be diagram based... like Dia or Visio, where the user drags building blocks onto a canvas and then connects them with lines. Any ideas on how to get started with this type of interface?

There are a lot of possibilities. For example for the diagram you can create a new component based on TCustomControl. The drag&drop part could be somewhat tricky, as this is not yet complete in the LCL and so you need to handle it yourself.

I am more adjusted to the math and simulation portion and am new to the graphics part. Is lazarus and Free Pascal ready to be used for something like this?

I think so.

Show quoted text 7 lines
Are there existing components that could be leveraged for such? Any library that i create I would be willing to license as to be useable by everyone. Second, what is the status of the database components? I am looking to use something like SQLite where a complete database can be saved as one file which looks to the user like a single project file.

I will leave this to the fpc database cracks.

Mattias

Reply by email