Re: [lazarus] TSqlite3Dataset

2006-02-28 Thread Micha Nelissen
Luiz Americo Pereira Camara wrote: I updated the benchmarks to insert 600.000 records: http://www.geocities.com/camara_luiz/sqlite4fpc/benchmarks.html For TDbf, TIntegerField shouldn't be limited to 32768 as value, I remember it being reported some time ago as well. Can you use a newer

Re: [lazarus] transparent forms

2006-02-28 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: On 2/27/06, Micha Nelissen [EMAIL PROTECTED] wrote: I think SetWindowRgn makes part of a window transparent (the parts not in the region). For example, winamp can do it: have oddly shaped sizes. well ... good to know new things =) I did not know that such

Re: [lazarus] String functions on non latin text

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 09:57:09 +0200 Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: so if there is something wrong with the sample I thought it should be gtk2 and the only problem I found was the position returned mismatched visually the substring I tried to find a relation between

Re: [lazarus] TListview sorting

2006-02-28 Thread Graeme Geldenhuys
Oops, didn't see that thread. Will quickly give it a read... G. On 2/28/06, A.J. Venter [EMAIL PROTECTED] wrote: On Tuesday 28 February 2006 10:35, Graeme Geldenhuys wrote: Hi, Has TListview sorting been implemented?. I set the SortType and implemented the OnCompare event, but can't

RE: [lazarus] String functions on non latin text

2006-02-28 Thread Panagiotis Sidiropoulos
Yes, this is the solution. Vincent had a similar suggestion earlier and just now finished checking it, it realy return correct character position. Thank you all. Panagiotis -Original Message- From: Mattias Gaertner [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 12:24 PM

Re: [lazarus] TListview sorting

2006-02-28 Thread A.J. Venter
On Tuesday 28 February 2006 12:45, Graeme Geldenhuys wrote: Hi AJ, I might be to late for you, but this is how I did my sorting in a TListview. It doesn't need to clear the Listview while sorting. You might need to reset the .Selected though. This code goes into the ColumnClick event of

Re: [lazarus] TListview sorting

2006-02-28 Thread Graeme Geldenhuys
Have you got a screenshot of you application now, using the Grid? What grid are you using, TStringGrid? I once maintained a app that had a very complex screen using 4 TStringGrids and it looked and worked beautifully. To explain the code a supplied. It actually uses the TStringList Sort

[lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread A.J. Venter
Right, the final missing feature of OpenBook is to be able to search for phrases INSIDE the books, now the logical way would be to just check each book and determine whether or not it contains a matching phrase... except that there are 12000 of them. For the author/title searching it´s easy, I

Re: [lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread Michael Van Canneyt
On Tue, 28 Feb 2006, A.J. Venter wrote: Right, the final missing feature of OpenBook is to be able to search for phrases INSIDE the books, now the logical way would be to just check each book and determine whether or not it contains a matching phrase... except that there are 12000 of them.

Re: [lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread Eduardo
Take a look to Managing Gigabytes, a book which explauin how to do a mixed database/compression algorithm. HTH _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: New Lazarus addon - Procedure List

2006-02-28 Thread Graeme Geldenhuys
The site is back up and running again after a 13.5 hour power outage!!! We have been experiencing havoc for the last 3 weeks. Regards, - Graeme - On 2/27/06, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi The procedure list enables you to view a list of Free Pascal / Lazarus procedures

Re: [lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread Vincent Snijders
If java is an option for you: http://lucene.apache.org/java/docs/ If not, maybe you can port it to fpc. We use this (the .NET port) at work to index all publications of Statistic Netherlands. Searching is fast. Vincent. _

Re: [lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread A.J. Venter
On Tuesday 28 February 2006 17:24, Vincent Snijders wrote: If java is an option for you: http://lucene.apache.org/java/docs/ If not, maybe you can port it to fpc. We use this (the .NET port) at work to index all publications of Statistic Netherlands. Searching is fast. Thanks, I am looking

[lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Felipe Monteiro de Carvalho
Developers from turboCASH are asking for Lazarus programers (people that program using Lazarus IDE) to set up a small test application to prove that Lazarus can be IDE of choice to port turboCASH to Linux. there is information on how to adapt existing turboCASH code to run on Lazarus here:

Re: [lazarus] Somewhat OT: The massive db-less search

2006-02-28 Thread Vincent Snijders
A.J. Venter wrote: On Tuesday 28 February 2006 17:24, Vincent Snijders wrote: If java is an option for you: http://lucene.apache.org/java/docs/ If not, maybe you can port it to fpc. We use this (the .NET port) at work to index all publications of Statistic Netherlands. Searching is fast.

RE: [lazarus] String functions on non latin text

2006-02-28 Thread Panagiotis Sidiropoulos
For anyone interest on a UTF8Pos function, here is one as suggested by Vincent and Mattias: // Find position into a utf string function UTF8Pos( cSearcFor, cSearchInto: UTF8String ): integer; var nPos: integer; begin nPos := pos( cSearcFor, cSearchInto ); if nPos 0 then Result

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] 2) What are we going to use for a Grid. In Delphi/Windows we use a quality commercial package - Infopower. I have struggled to find and Open Source alternative. Project Jedi seems to offer the best.

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Michael Van Canneyt
On Tue, 28 Feb 2006, Felipe Monteiro de Carvalho wrote: I can't help with actual development. But I made some remarks below, please forward them to the people concerned. I am now more concerned about: 1) How we are going to connect to the Firebird Database (and/or MySQL) - In Delphi we

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: Developers from turboCASH are asking for Lazarus programers (people that program using Lazarus IDE) to set up a small test application to prove that Lazarus can be IDE of choice to port turboCASH to Linux. there is information on how to adapt existing

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Bogusław Brandys
Mattias Gaertner wrote: On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] 2) What are we going to use for a Grid. In Delphi/Windows we use a quality commercial package - Infopower. I have struggled to find and Open Source alternative. Project Jedi

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Michael Van Canneyt
On Tue, 28 Feb 2006, Bogusaw Brandys wrote: Mattias Gaertner wrote: On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] 2) What are we going to use for a Grid. In Delphi/Windows we use a quality commercial package - Infopower. I have struggled to

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Marc Weustink
Michael Van Canneyt wrote: On Tue, 28 Feb 2006, Bogusaw Brandys wrote: Mattias Gaertner wrote: On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: [...] 2) What are we going to use for a Grid. In Delphi/Windows we use a quality commercial package -

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Michael Van Canneyt
On Tue, 28 Feb 2006, A.J. Venter wrote: Can anyone help with the following on Linux: 1) Setup a simple proof of concept in Lazarus - I've known Philip Coperman for quite a while, in fact I was the one who suggested that

Re: [lazarus] String functions on non latin text

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 18:08:34 +0200 Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: For anyone interest on a UTF8Pos function, here is one as suggested by Vincent and Mattias: // Find position into a utf string function UTF8Pos( cSearcFor, cSearchInto: UTF8String ): integer; var nPos:

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 17:23:05 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: [...] If you Linux guys (Even the Lazarus on Windows guys) - Could do the following : i) Download the TurboCASH/Delphi project. Steal whatever you need ii) Open a set of books simply by connecting to the

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 06:14:04 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 28.02.2006, 04:26 +0100 schrieb Mattias Gaertner: I added the code to the SetWidgetColor/SetWidgetFont functions. TEdit does not like to change its color, but at least its font size. I can confirm,

Re: [lazarus] TSqlite3Dataset

2006-02-28 Thread Bogusław Brandys
Luiz Americo Pereira Camara wrote: Bogusław Brandys escreveu: I uploaded a version of sqlite3ds that retrieves the data from the database when Cancel is called. The code is commented to avoid future incompatibilities since the correct approach is to revert to the last Posted value which

Re: [lazarus] Changing SynEdit

2006-02-28 Thread Flávio Etrusco
How does M.H. and the rest of the Synedit developers feel? I meant that I would leave the SynEdit project and develop in the Lazarus tree... By MH you mean Maël Hörz? The other developers right now is only him. And of course he wouldn't exactly love any idea like that since his done a huge work

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Felipe Monteiro de Carvalho
On 2/28/06, Bogusław Brandys [EMAIL PROTECTED] wrote: Not to do without quite large amount of work. Remember this is about creating a demonstration software, not porting the entire turboCASH software. This is about proving that lazarus can do the job before the real work begins ^^ Any help on

Re: [lazarus] Changing SynEdit

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 14:22:44 -0300 Flávio Etrusco [EMAIL PROTECTED] wrote: How does M.H. and the rest of the Synedit developers feel? I meant that I would leave the SynEdit project and develop in the Lazarus tree... By MH you mean Maël Hörz? The other developers right now is only him. And

Re: [lazarus] String functions on non latin text

2006-02-28 Thread Panagiotis Sidiropoulos
Both functions are functioning properly. thank Στις 28-02-2006, ημέρα Τρι, και ώρα 17:48 +0100, ο/η Mattias Gaertner έγραψε: On Tue, 28 Feb 2006 18:08:34 +0200 Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: For anyone interest on a UTF8Pos function, here is one as suggested by Vincent

Re: [lazarus] String functions on non latin text

2006-02-28 Thread Panagiotis Sidiropoulos
Both functions are functioning properly. Thank you Panagiotis Στις 28-02-2006, ημέρα Τρι, και ώρα 17:48 +0100, ο/η Mattias Gaertner έγραψε: On Tue, 28 Feb 2006 18:08:34 +0200 Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote: For anyone interest on a UTF8Pos function, here is one as

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Christian U.
- Original Message - From: Marc Weustink [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, February 28, 2006 5:29 PM Subject: Re: [lazarus] turboCASH on Lazarus proof of concept - grid Michael Van Canneyt wrote: On Tue, 28 Feb 2006, Bogusaw Brandys wrote: Mattias

[lazarus] Reportlivre - a new report component

2006-02-28 Thread jotace
Hi, I release a new report component for lazarus, and i hope it help you. See at souceforge page: https://sourceforge.net/projects/reportlivre/ I try to make a tutorial / help file in the next days. If any one like this or want to help tell me. Tanks Jotace - [EMAIL PROTECTED]

Re: [lazarus] setColor part 3

2006-02-28 Thread Micha Nelissen
On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL PROTECTED] wrote: now i prepare patch for tSpeedButton Why use Frame3D instead of DrawFrameControl ? Micha _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] setColor part 3

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL PROTECTED] wrote: Hi I continue my investigation with widgets color now i prepare patch for tSpeedButton tEdit tListBox all for GTK1 Darek PS. For A.I. Vender maybe now tEdit change the color. If not I'll try, but

Re: [lazarus] setColor part 3

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL PROTECTED] wrote: Hi I continue my investigation with widgets color now i prepare patch for tSpeedButton tEdit tListBox all for GTK1 Darek PS. For A.I. Vender maybe now tEdit change the color. If not I'll try, but

Re: [lazarus] Reportlivre - a new report component

2006-02-28 Thread Swen Heinig
Hello, I tried to install your component. But I got the message Identifier not found TCUPSPrinter in rprint.pas(87,9). Do I need any other unit to compile your component? Regards, Swen jotace schrieb: Hi, I release a new report component for lazarus, and i hope it help you. See at

Re: [lazarus] Reportlivre - a new report component

2006-02-28 Thread Cristiano Tore
Swen Heinig wrote: Hello, I tried to install your component. But I got the message Identifier not found TCUPSPrinter in rprint.pas(87,9). Do I need any other unit to compile your component? Under Windows I changed OSPrinters with Printers in uses clause and every occurence of TCUPSPrinter

Re: [lazarus] setColor part 3

2006-02-28 Thread darekm
Maybe there is a bug in the constants? GTK_STYLE_TEXT = $81 - this flag bitmask bites GTK_STATE_ACTIVE if GTK_STYLE_TEXT in mask then Do you mean something like GTK_STYLE_BASE = $40; // custom flag to change base styles GTK_STYLE_TEXT = $80; // custom flag to change text styles ? I

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Christian U.
- Original Message - From: L505 [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, February 28, 2006 8:03 PM Subject: Re: [lazarus] turboCASH on Lazarus proof of concept - grid A treeview is a totally different beast than a grid ? TVirtualTreeView can be a grid, a tree or

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Michael Van Canneyt
On Tue, 28 Feb 2006, Christian U. wrote: - Original Message - From: L505 [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, February 28, 2006 8:03 PM Subject: Re: [lazarus] turboCASH on Lazarus proof of concept - grid A treeview is a totally different beast than a

Re: [lazarus] Reportlivre - a new report component

2006-02-28 Thread jotace
Cristiano Tore wrote: Swen Heinig wrote: Hello, I tried to install your component. But I got the message Identifier not found TCUPSPrinter in rprint.pas(87,9). Do I need any other unit to compile your component? Under Windows I changed OSPrinters with Printers in uses clause and every

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-02-28 Thread Marc Santhoff
Am Dienstag, den 28.02.2006, 17:53 +0100 schrieb Mattias Gaertner: On Tue, 28 Feb 2006 06:14:04 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: It could be by design, IIRC this is a task done in GTK2 by pango using markup around the strings. Dunno if it's true for simple TEdit, too.

Re: [lazarus] GTK2 SetFont Patch - final (for now)

2006-02-28 Thread Mattias Gaertner
On Tue, 28 Feb 2006 21:59:43 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 28.02.2006, 17:53 +0100 schrieb Mattias Gaertner: On Tue, 28 Feb 2006 06:14:04 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: It could be by design, IIRC this is a task done in GTK2 by pango using

Re: [lazarus] Reportlivre - a new report component

2006-02-28 Thread Bogusław Brandys
jotace wrote: Cristiano Tore wrote: Swen Heinig wrote: Hello, I tried to install your component. But I got the message Identifier not found TCUPSPrinter in rprint.pas(87,9). Do I need any other unit to compile your component? Under Windows I changed OSPrinters with Printers in uses

Re: [lazarus] Reportlivre - a new report component

2006-02-28 Thread jotace
Bogusław Brandys wrote: jotace wrote: Cristiano Tore wrote: Swen Heinig wrote: Hello, I tried to install your component. But I got the message Identifier not found TCUPSPrinter in rprint.pas(87,9). Do I need any other unit to compile your component? Under Windows I changed OSPrinters

Re: [lazarus] turboCASH on Lazarus proof of concept - grid

2006-02-28 Thread Jesus Reyes
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, February 28, 2006 6:49 PM Subject: Re: [lazarus] turboCASH on Lazarus proof of concept - grid On Tue, 28 Feb 2006 20:47:43 +0100 Christian U. [EMAIL PROTECTED] wrote: -

Re: [lazarus] turboCASH on Lazarus proof of concept

2006-02-28 Thread Jesus Reyes
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, February 28, 2006 7:14 PM Subject: Re: [lazarus] turboCASH on Lazarus proof of concept On Tue, 28 Feb 2006 12:57:32 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:

Re: [lazarus] Changing SynEdit

2006-02-28 Thread Flávio Etrusco
Lengthy email warning! :-$ AFAIK synedit uses UCS16, not UTF16. Hmm, very probably. I was not aware of the difference until now, when You and Google enlightened me ;-) There was some talk about supporting UTF16, but I never used UniSynEdit so I don't know how it ended up. But anyway, it's

Re: [lazarus] setColor part 3

2006-02-28 Thread darekM
Mattias Gaertner napisa(a): On Tue, 28 Feb 2006 20:37:14 +0100 darekm [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Tue, 28 Feb 2006 19:16:10 +0100 darekm [EMAIL PROTECTED] wrote: now i prepare patch for tSpeedButton