Re: [Lazarus] Inserting enum type into Postgresql

2015-05-15 Thread Leonardo M. Ramé
El 15/05/15 a las 12:26, Michael Van Canneyt escibió: On Fri, 15 May 2015, "Leonardo M. Ramé" wrote: Hi, I need to insert a value into a custom type column in a PostgreSql database. The type was created using this: create type doc_type as enum('pdf', 'rtf', 'html', 'doc', 'docx', 'xls', 'xl

Re: [Lazarus] Inserting enum type into Postgresql

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, "Leonardo M. Ramé" wrote: Hi, I need to insert a value into a custom type column in a PostgreSql database. The type was created using this: create type doc_type as enum('pdf', 'rtf', 'html', 'doc', 'docx', 'xls', 'xlsx', 'txt'); To insert a field into a table with on

[Lazarus] Inserting enum type into Postgresql

2015-05-15 Thread Leonardo M. Ramé
Hi, I need to insert a value into a custom type column in a PostgreSql database. The type was created using this: create type doc_type as enum('pdf', 'rtf', 'html', 'doc', 'docx', 'xls', 'xlsx', 'txt'); To insert a field into a table with one column of that type, I use: var lQuery: TSqlQu

Re: [Lazarus] IDE unable to load form due to missing property

2015-05-15 Thread Tony Whyman
It probably should - but I see this error all the time when modifying components and you do need to do something more than just ignore the error. Maybe a bug report is needed. Another thought - at run time an unknown property error might be better reported as a warning rather than as an error.

Re: [Lazarus] IDE unable to load form due to missing property

2015-05-15 Thread Graeme Geldenhuys
On 2015-05-15 14:16, Tony Whyman wrote: > Do something to change the form. e.g. move it Ah, I just closed the form (same thinking as Michael did). Moving it and then saving seems to have solved the problem. Many thanks. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using

Re: [Lazarus] IDE unable to load form due to missing property

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, Tony Whyman wrote: Open the problem form in the designer. Ignore the missing property error and continue loading Shouldn't choosing 'ignore' mark the form as modified ? Michael. -- ___ Lazarus mailing list Lazarus@lists.laza

Re: [Lazarus] IDE unable to load form due to missing property

2015-05-15 Thread Tony Whyman
Open the problem form in the designer. Ignore the missing property error and continue loading Do something to change the form. e.g. move it Save the form. now re-compile On 15/05/15 14:13, Graeme Geldenhuys wrote: Hi, I'm referring to this change. [svn r46263]== commit

[Lazarus] IDE unable to load form due to missing property

2015-05-15 Thread Graeme Geldenhuys
Hi, I'm referring to this change. [svn r46263]== commit 53ca8b6c866480b5accbaa24049e5485f840a03d Author: juha Date: Sat Sep 20 09:21:20 2014 + LCL: remove unused TDateEdit.DialogTitle. Issue #1278 git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46263 4

Re: [Lazarus] ListView.OnSelectItem - which LCL backend is correct?

2015-05-15 Thread Graeme Geldenhuys
On 2015-05-15 13:16, Bart wrote: > > Without looking into it, I would expect that the order is unselect, then > select. I would have expected that behaviour too. It is like that when using LCL-Win32/64, but the reverse order with LCL-GTK2. > This is a known issue: > http://bugs.freepascal.org/

Re: [Lazarus] ListView.OnSelectItem - which LCL backend is correct?

2015-05-15 Thread Bart
On 5/15/15, Graeme Geldenhuys wrote: > But the order of those events are reversed between LCL-Win32/64 and > LCL-GTK2. I haven't tried other LCL backends, so don't know the order > of them. Without looking into it, I would expect that the order is unselect, then select. > Also, it seems that un

Re: [Lazarus] Google APIs

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, markbass72 wrote: On 15/05/2015 12:48, Michael Van Canneyt wrote: I checked, I had indeed another version of googleservice.pp with the fix in it. I commited the fix, rev. 30859. Michael. Now it works! Great, because I almost got a heart attack :) Michael. -- ___

Re: [Lazarus] Google APIs

2015-05-15 Thread markbass72
On 15/05/2015 12:48, Michael Van Canneyt wrote: I checked, I had indeed another version of googleservice.pp with the fix in it. I commited the fix, rev. 30859. Michael. Now it works! Thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

Re: [Lazarus] Google APIs

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, Michael Van Canneyt wrote: On Fri, 15 May 2015, markbass72 wrote: On 15/05/2015 10:22, Michael Van Canneyt wrote: Better ask questions here. I don't use the forum, I'm old school. But I have answered on the forum. from forum: you can set the webclient.logfile to

Re: [Lazarus] Google APIs

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, markbass72 wrote: On 15/05/2015 10:22, Michael Van Canneyt wrote: Better ask questions here. I don't use the forum, I'm old school. But I have answered on the forum. from forum: you can set the webclient.logfile to some valid filename and examine the resulting fil

Re: [Lazarus] Google APIs

2015-05-15 Thread markbass72
On 15/05/2015 10:22, Michael Van Canneyt wrote: Better ask questions here. I don't use the forum, I'm old school. But I have answered on the forum. from forum: you can set the webclient.logfile to some valid filename and examine the resulting file after the request. It should contain the c

Re: [Lazarus] Keyboard handling messed up in LCL (recent change)

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, Giuliano Colla wrote: Il 14/05/2015 23:31, Toan Pham ha scritto: This bug also exists in Ubuntu 15, vivid. I am not sure of the root-cause (not just settings related), it could be in GTK+. You could rule out GTK by compiling the IDE with Qt WS, and switching to KDE de

Re: [Lazarus] CHM Maker not working

2015-05-15 Thread Richard Mace
Hi, I was just suggesting that the demo may need to be adjusted for the distribution of Lazarus, as all I did was load it and then run it? Richard On 15 May 2015 08:24, "leledumbo" wrote: > > Any ideas? > > Show screenshot of that "See" on the bottom of the dialog. You're likely to > set it wron

Re: [Lazarus] Google APIs

2015-05-15 Thread Michael Van Canneyt
On Fri, 15 May 2015, markbass72 wrote: I'm experimenting with the calendar demo and I have problems with updating an event I created this thread on forum http://forum.lazarus.freepascal.org/index.php/topic,28431.0.html Better ask questions here. I don't use the forum, I'm old school. But I

Re: [Lazarus] Google APIs

2015-05-15 Thread markbass72
I'm experimenting with the calendar demo and I have problems with updating an event I created this thread on forum http://forum.lazarus.freepascal.org/index.php/topic,28431.0.html nomorelogic -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepas

Re: [Lazarus] CHM Maker not working

2015-05-15 Thread leledumbo
> Any ideas? Show screenshot of that "See" on the bottom of the dialog. You're likely to set it wrong since you're on windows but trying to execute xterm as a launching application. The path is even clear: /usr/X11R6/bin/xterm, would that ever exist on windows? -- View this message in context: