Recent

Author Topic: Legacy Windows code to Lazarus  (Read 2585 times)

J Peasemold Gruntfuttock

  • New Member
  • *
  • Posts: 19
Legacy Windows code to Lazarus
« on: February 09, 2017, 12:22:00 pm »
Years ago I wrote an FP app which used native Windows calls and native SQLite calls to accept a SQL query and present the results in a ListView.

Now I want to rewrite it as a Lazarus app using portable GUI but retaining the native SQLite access.

Not sure 1) whether to use a ListView or a DBgrid to show query results, 2) whether to use a memo or an editor with syntax highlighting, I don't have much time to explore, unfortunately.

Any advice please?

Girlbrush

  • Jr. Member
  • **
  • Posts: 65
Re: Legacy Windows code to Lazarus
« Reply #1 on: February 09, 2017, 01:11:21 pm »
The quick and dirty(?) options are DBGrid and TMemo. Although you could use SynEdit and worry about text highlighting at a later date.
Getting back into programming after 8+ years.

J Peasemold Gruntfuttock

  • New Member
  • *
  • Posts: 19
Re: Legacy Windows code to Lazarus
« Reply #2 on: February 09, 2017, 01:30:11 pm »
Thanks Girlbrush, that seems a good place to start.

 

TinyPortal © 2005-2018