Re: [Lazarus] FreePascal/Lazarus Components to access Sqlite databases -- Tutorial 01 - A basic address book

2008-09-13 Thread Usuario Anónimo
Now the project run. Thanks. 2008/9/13 Luiz Americo Pereira Camara [EMAIL PROTECTED]: Usuario Anónimo wrote: Hello, I download the file dataset_tutorial_01.zip from http://www.geocities.com/camara_luiz/docs/dataset/dataset-tutorial-01.html. When I try compile the project I get the next

Re: [Lazarus] FreePascal/Lazarus Components to access Sqlite databases -- Tutorial 01 - A basic address book

2008-09-13 Thread Mattias Gaertner
On Fri, 12 Sep 2008 22:18:41 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Usuario Anónimo wrote: Hello, I download the file dataset_tutorial_01.zip from http://www.geocities.com/camara_luiz/docs/dataset/dataset-tutorial-01.html. When I try compile the project I get the next

[Lazarus] FloatToStrIntl

2008-09-13 Thread Pavel Řezníček
Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3 database. There I have a column defined as numeric(3), it means, 3 whole number digits and no decimal places. The table has to be synchronised with PostgreSQL using the same table

Re: [Lazarus] FreePascal/Lazarus Components to access Sqlite databases -- Tutorial 01 - A basic address book

2008-09-13 Thread Usuario Anónimo
I get the error: tutorial01.pas(44,65) Error: Identifier not found GetAppConfigDirUTF8 2008/9/13 Mattias Gaertner [EMAIL PROTECTED]: On Fri, 12 Sep 2008 22:18:41 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Usuario Anónimo wrote: Hello, I download the file

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Michael Van Canneyt
On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3 database. There I have a column defined as numeric(3), it means, 3 whole number digits and no decimal places. The table has to

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Pavel Řezníček
Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3 database. There I have a column defined as numeric(3), it means, 3 whole number digits and no

Re: [Lazarus] FreePascal/Lazarus Components to access Sqlite databases -- Tutorial 01 - A basic address book

2008-09-13 Thread Usuario Anónimo
I follow the steps to make a identic project to dataset_tutorial_01.zip but I can´t write text into the TDBGrid. Why? Regards. 2008/9/13 Usuario Anónimo [EMAIL PROTECTED]: I get the error: tutorial01.pas(44,65) Error: Identifier not found GetAppConfigDirUTF8 2008/9/13 Mattias Gaertner

[Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Luis R. Hilario B.
Hello all, It was a lot of inactive time, but now I am using Lazarus in Linux (GTK and GTK2). I do not remember how does function in Delphi, but seems me that OnChange should work when changes the index using code: ComboBox1.ItemIndex := NewIndex; Please verify if the error exists. Thanks. --

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Pavel Řezníček
Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3 database. There I have a column defined as numeric(3), it means, 3 whole number digits and no

Re: [Lazarus] GtkWidget questions

2008-09-13 Thread SteveG
Still fails at same point unfortunately Mattias Gärtner wrote: Zitat von SteveG [EMAIL PROTECTED]: Thanks for your answer here Mattias - GetActiveWindow does seem to be just what I need to be able to create my own code from - but I cant get it to work :( I have extracted the function

Re: [Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Reenen Laurie
I think it only executes when it is changed by the user via the GUI. If you change it via code, it doesn't trigger. On 9/13/08, Luis R. Hilario B. [EMAIL PROTECTED] wrote: Hello all, It was a lot of inactive time, but now I am using Lazarus in Linux (GTK and GTK2). I do not remember how

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Michael Van Canneyt
On Sat, 13 Sep 2008, Pavel Řezníček wrote: Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3 database. There I have a column defined as

Re: [Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Luis R. Hilario B.
Then previously Lazarus had a bug in Linux. Is strange because visually the index changes and thought that OnChange should be triggered. Someone tested with Delphi? 2008/9/13 Reenen Laurie [EMAIL PROTECTED] I think it only executes when it is changed by the user via the GUI. If you change it

Re: [Lazarus] New Mac OS X Scheme

2008-09-13 Thread Mattias Gaertner
On Sat, 13 Sep 2008 13:03:21 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On Thu, Sep 11, 2008 at 3:14 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: In my MacBook the keys from F8 to F12 are never sent to applications, even clicking in the button to inverse the

Re: [Lazarus] New Mac OS X Scheme

2008-09-13 Thread Felipe Monteiro de Carvalho
On Sat, Sep 13, 2008 at 5:19 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: Forget the F keys: Recent Macbook with american keyboard: only F5 and F6 are free Older Macbook with german keyboard: F8-F12 are free. Well, Apple doesn't make it any easier for us, does it? -- Felipe Monteiro de

Re: [Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Mattias Gaertner
On Sat, 13 Sep 2008 17:04:48 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: 2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]: Is strange because visually the index changes and thought that OnChange should be triggered. Someone tested with Delphi? It is so by design and

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Pavel Řezníček
Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3

Re: [Lazarus] FloatToStrIntl

2008-09-13 Thread Pavel Řezníček
Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Michael Van Canneyt napsal(a): On Sat, 13 Sep 2008, Pavel Řezníček wrote: Hello all, On Lazarus v0.9.25 r16541 i386-win32-win32/win64, I have the following problem. I access an SQLite3

Re: [Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Felipe Monteiro de Carvalho
2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]: Is strange because visually the index changes and thought that OnChange should be triggered. Someone tested with Delphi? It is so by design and compatible with delphi. You can call OnChange manually yourself if you wish to do that. -- Felipe

Re: [Lazarus] GtkWidget questions

2008-09-13 Thread SteveG
Mattias - following is the code (from a new project in Laz) I am using to test this It is just a direct copy from the gtk code supplied with Laz/fpc (with 3 lines added for testing) - and the result is being ignored My form has a button (button1) and memo (memo1) - nothing else The memo

Re: [Lazarus] ComboBox.OnChange not work

2008-09-13 Thread Luis R. Hilario B.
2008/9/13 Mattias Gaertner [EMAIL PROTECTED] On Sat, 13 Sep 2008 17:04:48 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: 2008/9/13 Luis R. Hilario B. [EMAIL PROTECTED]: Is strange because visually the index changes and thought that OnChange should be triggered. Someone