Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread zeljko
On Monday 13 of June 2011 00:57:21 Erwin van den Bosch wrote: Op 13-06-11 00:32, Bart schreef: Please define does not work and looks weird (attach screenshot perhaps). Can't you reproduce it? #DEFINE Does_not_work = Does not work at all. No grid lines. No header. Nothing. I can

Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread Erwin van den Bosch
Op 13-6-2011 8:06, zeljko schreef: Same problem exist with trunk? I don't know. I'm on the stable branch. Just dropped an TDBGrid onto form and it looks ok (trunk lazarus). Zeljko, have you tested the fixes branch? I'm on the fixes branch. I will test the trunk tree today. (First some

Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread Erwin van den Bosch
Op 13-06-11 08:46, Erwin van den Bosch schreef: Op 13-6-2011 8:06, zeljko schreef: Same problem exist with trunk? I don't know. I'm on the stable branch. Just dropped an TDBGrid onto form and it looks ok (trunk lazarus). Zeljko, have you tested the fixes branch? I'm on the fixes branch. I

Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread zeljko
On Monday 13 of June 2011 10:02:52 Erwin van den Bosch wrote: Op 13-06-11 08:46, Erwin van den Bosch schreef: Op 13-6-2011 8:06, zeljko schreef: Same problem exist with trunk? I don't know. I'm on the stable branch. Just dropped an TDBGrid onto form and it looks ok (trunk lazarus).

Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread Erwin van den Bosch
Op 13-06-11 12:40, zeljko schreef: Don't know, no time to test fixes_0_9_30 atm ... z. I compared the file lcl/interfaces/qt/qtwinapi.inc in fixes_0_9_30 with the one in trunk. Find a few lines of code that wasn't in the trunk tree. Fixed the bug in the attached patch. Regards, Erwin.

Re: [Lazarus] TDBGrid broken in svn fixes_0_9_30

2011-06-13 Thread zeljko
On Monday 13 of June 2011 13:47:14 Erwin van den Bosch wrote: Op 13-06-11 12:40, zeljko schreef: Don't know, no time to test fixes_0_9_30 atm ... z. I compared the file lcl/interfaces/qt/qtwinapi.inc in fixes_0_9_30 with the one in trunk. Find a few lines of code that wasn't in the

Re: [Lazarus] EmbWeb: Moving between webapp type caveats

2011-06-13 Thread leledumbo
It's not always possible to get the Application-URL. That's a problem with other server-side weblanguages too. Maybe... the PHP framework I use require me to specify the base URL (relative from the host:port) like /myproj/ for http://localhost:8080/myproj/ assuming the webserver is listening

[Lazarus] Setting SQL locale

2011-06-13 Thread Mark Morgan Lloyd
When using the standard DB components connecting to e.g. a PostgreSQL backend, is there an event that fires between the connection being established and the query being issued? I'm trying to send a SET TIMEZONE command to the server, to get DST correction applied to the resultset. This has to

Re: [Lazarus] EmbWeb: Moving between webapp type caveats

2011-06-13 Thread Joost van der Sluis
On Mon, 2011-06-13 at 08:56 -0700, leledumbo wrote: Back to the problem, using relative URL is not a solution as well. When I do http://localhost/proj/proj.cgi/module/action then if somewhere I put public/style/style.css then the link becomes:

Re: [Lazarus] EmbWeb: Moving between webapp type caveats

2011-06-13 Thread ABorka
Back to the problem, using relative URL is not a solution as well. When I do http://localhost/proj/proj.cgi/module/action then if somewhere I put public/style/style.css then the link becomes: http://localhost/proj/proj.cgi/module/public/style/style.css, regardless of the webapp type (at least on

Re: [Lazarus] EmbWeb: Moving between webapp type caveats

2011-06-13 Thread ABorka
Set it in some constant? When the webmodule still wasn't working good enough, I used defines with a constant. I use an .ini file, but the same idea. There can be a lot of things that a web app needs as a constant. static paths, email server settings, template paths, url generation parameters

Re: [Lazarus] Setting SQL locale

2011-06-13 Thread José Mejuto
Hello Lazarus-List, Monday, June 13, 2011, 8:01:44 PM, you wrote: MML I'm trying to send a SET TIMEZONE command to the server, to get DST MML correction applied to the resultset. This has to be done using the same MML handle as will be used for the query, otherwise the server thinks it's a MML

Re: [Lazarus] Setting SQL locale

2011-06-13 Thread Michael Van Canneyt
On Mon, 13 Jun 2011, Mark Morgan Lloyd wrote: When using the standard DB components connecting to e.g. a PostgreSQL backend, is there an event that fires between the connection being established and the query being issued? Normally, I'd suggest TSQLConnection.AfterConnect ? I'm trying

[Lazarus] How to see RTL/FCL help in editor hints

2011-06-13 Thread Mattias Gaertner
Hi all, If you want to see the RTL/FCL help in the editor hints, here is how: http://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#fpdoc_entries_of_RTL_and_FCL Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] How to see RTL/FCL help in editor hints

2011-06-13 Thread ik
On Mon, Jun 13, 2011 at 22:28, Mattias Gaertner nc-gaert...@netcologne.dewrote: Hi all, If you want to see the RTL/FCL help in the editor hints, here is how: http://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#fpdoc_entries_of_RTL_and_FCL That's very helpful, thanks. How can I

Re: [Lazarus] How to see RTL/FCL help in editor hints

2011-06-13 Thread Mattias Gaertner
On Mon, 13 Jun 2011 22:33:57 +0300 ik ido...@gmail.com wrote: On Mon, Jun 13, 2011 at 22:28, Mattias Gaertner nc-gaert...@netcologne.dewrote: Hi all, If you want to see the RTL/FCL help in the editor hints, here is how:

Re: [Lazarus] Setting SQL locale

2011-06-13 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Mon, 13 Jun 2011, Mark Morgan Lloyd wrote: When using the standard DB components connecting to e.g. a PostgreSQL backend, is there an event that fires between the connection being established and the query being issued? Normally, I'd suggest

Re: [Lazarus] Setting SQL locale

2011-06-13 Thread Mark Morgan Lloyd
José Mejuto wrote: Hello Lazarus-List, Monday, June 13, 2011, 8:01:44 PM, you wrote: MML I'm trying to send a SET TIMEZONE command to the server, to get DST MML correction applied to the resultset. This has to be done using the same MML handle as will be used for the query, otherwise the