[Lazarus] TListview issues

2008-10-28 Thread Michael Van Canneyt
Hi, We're trying to implement drag&drop from/to a TListView. There are several issues: 1. The selected listitem is not yet set when the drag is initialized. This prevents knowing which item in the list is being dragged, and this is the initial problem. Trying to work around this, we hit 2 othe

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Luiz Americo Pereira Camara wrote: > Michael Van Canneyt escreveu: > > All I need is to display a text at a 90° angle. Since GTK 1 doesn't > > support rotated text (hint hint), I draw the text on a bitmap, rotate > > that 90 degrees and display

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Reenen Laurie wrote: > I had a similar problem... Eventually I moved on to GLscene... > > Though obviously it's probably not at all what you want to do, but it's > pretty easy to rotate things there. :-) > > obj.rollangle := obj.rollangle + 90; > > You can use an orthogon

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Vincent Snijders wrote: > 2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>: > > Hi, > > > > How can I rotate a bitmap 90° counterclockwise ? > > > > Alternatively, how can I read/write the pixels in the bitmap ? > > I found

Re: [Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
On Mon, 27 Oct 2008, Graeme Geldenhuys wrote: > 2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>: > > Hi, > > > > How can I rotate a bitmap 90° counterclockwise ? > > > To save you the trouble... :-) > > http://www.efg2.com/Lab/ImageProcess

[Lazarus] Rotating a bitmap

2008-10-27 Thread Michael Van Canneyt
Hi, How can I rotate a bitmap 90° counterclockwise ? Alternatively, how can I read/write the pixels in the bitmap ? I found ReadChannels/WriteChannels from RawImage, but they use a strange kind of position object which I don't understand :( (an alternate answer is to implement rotated fonts in

Re: [Lazarus] Rotated text ?

2008-10-24 Thread Michael Van Canneyt
On Fri, 24 Oct 2008, Felipe Monteiro de Carvalho wrote: > 2008/10/24 Michael Van Canneyt <[EMAIL PROTECTED]>: > > How can one detect the used widget set in a binary ? > > That one is easy: > > ldd myexecutable > > If it links to gtk1, it must be using the gt

Re: [Lazarus] Rotated text ?

2008-10-24 Thread Michael Van Canneyt
> > >On Fri, 24 Oct 2008, Paul Ishenin wrote: > >> Michael Van Canneyt wrote: >> Hi, >> >> Is it possible to draw text at a 90° angle ? > >Yes. Gtk1 does not support it but win32, qt and gtk2 supports. I use GTK 1 :( > >You can find an example in

[Lazarus] Rotated text ?

2008-10-23 Thread Michael Van Canneyt
Hi, Is it possible to draw text at a 90° angle ? Michael.___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mantis statistics

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Florian Klaempfl wrote: > Graeme Geldenhuys schrieb: > > On Wed, Oct 22, 2008 at 9:55 AM, Michael Van Canneyt > > <[EMAIL PROTECTED]> wrote: > >> There is such a page, but I don't think it is available for 'normal' > >>

Re: [Lazarus] WebService API for Mantis?

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Marc Weustink wrote: > Graeme Geldenhuys wrote: > > Hi, > > > > Is there some external or webservice API for Mantis? For example: Can > > I write a Lazarus GUI program to view and submit bug reports, without > > using a Web Browser? Similar to what CodeGear has with there

Re: [Lazarus] Mantis statistics

2008-10-22 Thread Michael Van Canneyt
On Wed, 22 Oct 2008, Graeme Geldenhuys wrote: > Hi, > > Does Mantis have a statistics page we can view? Things like new > reports per month or week. Resolved reports per week or month. Bug > reports per release etc, etc... I'm just curious - are the bug > reports becoming more or less for eve

Re: [Lazarus] fpmake build system in latest FPC

2008-10-17 Thread Michael Van Canneyt
On Fri, 17 Oct 2008, Henry Vermaak wrote: > On 17/10/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: > > Mattias Gärtner schreef: > >> Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > >> > >>> Is Lazarus going to switch to the fpmake build system? Henry Vermaak > >>> created an example for u

Re: [Lazarus] 0.9.26 released

2008-10-14 Thread Michael Van Canneyt
On Tue, 14 Oct 2008, Mattias Gaertner wrote: > The Lazarus team is glad to announce the 0.9.26 release. This release > is based on fpc 2.2.2. > > This release can be downloaded from the sourceforge download page: > http://sourceforge.net/project/showfiles.php?group_id=89339 Congratulations to

Re: [Lazarus] Where is form instance being NIL'ed

2008-10-14 Thread Michael Van Canneyt
On Tue, 14 Oct 2008, Graeme Geldenhuys wrote: > On Tue, Oct 14, 2008 at 3:50 PM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > >> When a new form is created using Application.CreateForm(), the form's > >> global instance variable is passed in as well.

Re: [Lazarus] Where is form instance being NIL'ed

2008-10-14 Thread Michael Van Canneyt
On Tue, 14 Oct 2008, Graeme Geldenhuys wrote: > Hi, > > When a new form is created using Application.CreateForm(), the form's > global instance variable is passed in as well. Now if that form's > CloseAction = caFree, where is that instance variable assigned nil > after it was freed? It is not

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: > On Mon, Oct 13, 2008 at 11:05 AM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > > > Small correction: I don't think it is 'normal', but I do think one > > never should rely on this behaviour

Re: [Lazarus] infinite loop due no OnChange event firing

2008-10-13 Thread Michael Van Canneyt
On Mon, 13 Oct 2008, Graeme Geldenhuys wrote: > Hi, > > In tiOPF with LCL widgetset we hit a little snag. We react to the > OnChange event of a TEdit. In GTK1 we have no issues. In GTK2 we get a > core dump as soon as the text has changed (first key being pressed). > Here is a discussion about

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Michael Van Canneyt
On Fri, 10 Oct 2008, John Stoneham wrote: > 2008/10/10 Michael Van Canneyt <[EMAIL PROTECTED]> > > > > > > > On Fri, 10 Oct 2008, John Stoneham wrote: > > > > > On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner > > > <[EMAIL PROTECTED

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Michael Van Canneyt
On Fri, 10 Oct 2008, John Stoneham wrote: > On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner > <[EMAIL PROTECTED]>wrote: > > > Zitat von Marius <[EMAIL PROTECTED]>: > > > > > -Would it be a problem to have a seperate IDE window for the structure > > > view instead of a fixed one in the object i

Re: [Lazarus] Xml

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Graeme Geldenhuys wrote: > On Tue, Oct 7, 2008 at 9:28 PM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > > > You cannot control the formatting. This is part of the XML specs, and is > > normal. > > Whitespace is irrelevant i

Re: [Lazarus] Xml

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, [EMAIL PROTECTED] wrote: > i have a light problem with xml. > here my code: > > {.create the document} > CFWxmlFile:=TXMLDocument.Create; > {.create the root node of the configuration file} > CFWxmlRoot:=CFWxmlFile.CreateElement('configfile'); > CFWxmlFil

Re: [Lazarus] GTK2 is now the default widgetset

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Mattias Gärtner wrote: > The default widgetset was changed from gtk1 to gtk2 on Linux, BSD, Sparc. Well, that will be an exciting update from SVN... Frames. GTK2 (still use GTK 1)... Does this mean that GTK 1 will not be maintained anymore ? Probably in practice: yes ? M

Re: [Lazarus] Frames

2008-10-07 Thread Michael Van Canneyt
On Tue, 7 Oct 2008, Mattias Gärtner wrote: > The IDE now supports TFrame. > > See here for already working features: > > http://wiki.lazarus.freepascal.org/IDE_Development#Frames Awesome !! =-) Michael.___ Lazarus mailing list Lazarus@lazarus.freep

Re: [Lazarus] A solution to online AND offline IDE help

2008-10-03 Thread Michael Van Canneyt
On Fri, 3 Oct 2008, Graeme Geldenhuys wrote: > Hi, > > After some replies in other thread about TiddlyWiki, I realized > something. That could be a perfect solution to Lazarus IDE help! > What's your thoughts on this... Download any one of the listed wikis, > or even the 200Kb "empty" wiki and

Re: [Lazarus] [patch] File Browser add-on

2008-09-29 Thread Michael Van Canneyt
On Mon, 29 Sep 2008, Vincent Snijders wrote: > Graeme Geldenhuys schreef: > > I hope others find this useful. :) > > > > http://bugs.freepascal.org/view.php?id=12178 > > Applied in r16792. > > Some remarks (tested on windows 2000): > * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOW

Re: [Lazarus] Asyncronous socket error lNet

2008-09-29 Thread Michael Van Canneyt
> > > On Mon, 29 Sep 2008, Aleš Katona wrote: > > > Dňa Ne, 2008-09-28 o 20:14 +0200, Usuario Anónimo napísal: > > I get an asyncronous socket error. > > > > This is my code. > > > > procedure TForm1.Button1Click(Sender: TObject); > > var > > Item: string; > > begin > > System.Assign(Dat

Re: [Lazarus] Using Skins with Lazarus

2008-09-28 Thread Michael Van Canneyt
On Sat, 27 Sep 2008, [EMAIL PROTECTED] wrote: > Hello List, > > What are the options to use skins with Lazarus at the moment? None, as far as I know. you'll have to do it all yourself. A good API would be welcome. Michael. ___ Lazarus mailing list

[Lazarus] Regression in IDE reported.

2008-09-23 Thread Michael Van Canneyt
Hi, I've reported a regression in the IDE: the action list editor throws an exception when invoked. See bug report 12216. It's easy to reproduce. Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman

Re: [Lazarus] Printing the keyboard mappings setup

2008-09-22 Thread Michael Van Canneyt
On Mon, 22 Sep 2008, Inoussa OUEDRAOGO wrote: > 2008/9/22 Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > On Mon, 22 Sep 2008, Gerald Pöttler wrote: > > > >> What type of obstacles are we talking about? > >> Do you need translators? >

Re: [Lazarus] Printing the keyboard mappings setup

2008-09-22 Thread Michael Van Canneyt
On Mon, 22 Sep 2008, Gerald Pöttler wrote: > What type of obstacles are we talking about? > Do you need translators? Partially yes: The book is written partially in English and partially in german. The english text would only need to be revised. But apart from that, there is the editor quest

Re: [Lazarus] Printing the keyboard mappings setup

2008-09-22 Thread Michael Van Canneyt
On Mon, 22 Sep 2008, Howard Page-Clark wrote: > On Monday, September 22, 2008 Michael Van Canneyt wrote: > > > I'm just writing an article on printing in Lazarus. I'll send it > > so you can program it yourself in no time ;-) > > Could you put this in the wik

Re: [Lazarus] Printing the keyboard mappings setup

2008-09-22 Thread Michael Van Canneyt
On Mon, 22 Sep 2008, Graeme Geldenhuys wrote: > Hi, > > Is it possible to somehow print the keyboard mappings setup? I often > forget certain keyboard shortcuts, and it would be nice to stick a > printout certain shortcut groups against my pinboard next to my > monitor. I'm just writing an ar

Re: [Lazarus] fpweb basic Apache module on Ubuntu not working

2008-09-22 Thread Michael Van Canneyt
e' in file > > /usr/lib/apache2/modules/testmodule.so: > > /usr/lib/apache2/modules/testmodule.so: undefined symbol: test_module > > > > Any of these examples working for anyone on a 32bit Linux? > > > > > > Michael Van Canneyt wrote: > >>

Re: [Lazarus] fpweb basic Apache module on Ubuntu not working

2008-09-21 Thread Michael Van Canneyt
On Sun, 21 Sep 2008, ABorka wrote: > Compiling the mod_hello.pp (to make mod_hello.so) from > fpc/packages/httpd22/examples gives the same error even when all steps > are done on the wiki page (project options, paths, etc.). > Ubuntu 8.04 with Apache2.2, latest fpc/lazarus svn trunk > > apach

[Lazarus] Patch to print selection in IDE.

2008-09-21 Thread Michael Van Canneyt
Hi, I've uploaded small patch to the bug tracker (12197) to add support for printing just the selection in the IDE instead of the whole file. The IDE will ask if you want to print the whole file or the selection if it detects a non-emty selection. If it's OK, please apply. The question dialog sh

Re: [Lazarus] fpweb basic Apache module on Ubuntu not working

2008-09-21 Thread Michael Van Canneyt
On Sun, 21 Sep 2008, ABorka wrote: > Well, the real question is whether Lazarus does that correctly when one > creates a vanilla apache module from the file menu and compiles it right > away unchanged. On Linux it did not work for me, maybe someone else could > confirm or deny. Can you show the

Re: [Lazarus] fpweb basic Apache module on Ubuntu not working

2008-09-21 Thread Michael Van Canneyt
On Sat, 20 Sep 2008, ABorka wrote: > Hi, > > I've created a basic apache module using Lazarus "file -> new -> apache > module" (after adding the fpweb package/components to Lazarus), created > a web action which replies with a 'hello' and compiled it. > However, when I try to load apache2 it

Re: [Lazarus] wrong icon choice in Project Inspector

2008-09-17 Thread Michael Van Canneyt
On Thu, 18 Sep 2008, Paul Ishenin wrote: > wile64 wrote: > > > > > > In this case, I prefer just the sign + and - > > > > like this > They are better than current. I also think that the + and - are a better choice than the current one. Maybe these ones can be used ? Michael. __

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Reenen Laurie wrote: > > Just out of curiousity, > > What if a component developer were to put only the interface part of his > > units > > in the unit, and write a library that contains the implementation (much like > > Borland used to ship units like CRT back in the Turbo

Re: [Lazarus] Powered by lazarus

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Paul Ishenin wrote: > wile64 wrote: > > Hi all, > > > > I have created this bitmap for me, I redistributes if someone needs ! > Thanks. I've added it to subversion. This way it will not be forgotten. > > It will be nice to make "Lazarus Technology Partner" button :) Remobj

Re: [Lazarus] Powered by lazarus

2008-09-17 Thread Michael Van Canneyt
On Thu, 18 Sep 2008, SteveG wrote: > Well done Laurent - very professional > > wile64 wrote: > > Hi all, > > > > I have created this bitmap for me, I redistributes if someone needs ! I would suggest to include this in the Lazarus distribution. It looks very good, I'll use it myself :-) Micha

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Mattias Gärtner wrote: > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > > On Wed, 17 Sep 2008, Graeme Geldenhuys wrote: > > > > > On 9/17/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > &g

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Graeme Geldenhuys wrote: > On 9/17/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > I doubt it, since you must recompile lazarus, and chances that it recompiles > > an LCL file are very close to 1... > > This make

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Graeme Geldenhuys wrote: > On 9/17/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > It will not work, and never will for Lazarus as long as it works with > > recompiling > > the IDE. I told the TMS people so: there is currently n

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, zeljko wrote: > On Wednesday 17 September 2008 11:29, Michael Van Canneyt wrote: > > Hi, > > > > For those that know TMS Software: > > > > They have released their first component for FPC/Lazarus: Flexcel. > > > > http://www.tms

Re: [Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Graeme Geldenhuys wrote: > On 9/17/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > They have released their first component for FPC/Lazarus: Flexcel. > > > > http://www.tmssoftware.com/go/?flexcel > > > > Dependi

Re: [Lazarus] wrong icon choice in Project Inspector

2008-09-17 Thread Michael Van Canneyt
On Wed, 17 Sep 2008, Graeme Geldenhuys wrote: > Hi, > > With my last svn update, I noticed a few more icons have been added to > screens. I personally think the icon used in the "Remove" button in > the Project Inspector is wrong. > > The red icon normally associated with ERROR. For Add/Remov

[Lazarus] TMS component for lazarus released

2008-09-17 Thread Michael Van Canneyt
Hi, For those that know TMS Software: They have released their first component for FPC/Lazarus: Flexcel. http://www.tmssoftware.com/go/?flexcel Depending on the feedback they get on this (I assume direct inquiries, purchases or requests to port other components), they may decide to port other

Re: [Lazarus] FloatToStrIntl

2008-09-14 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: > > > > > >> Michael Van Canneyt napsal(a): > >> > >>> On Sat, 13 Sep 2008, Pavel Řezníček wrote: > >&g

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 > >>

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 h

Re: [Lazarus] [OT] How to delete a record/object being used

2008-09-09 Thread Michael Van Canneyt
On Tue, 9 Sep 2008, Graeme Geldenhuys wrote: > On 9/9/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Not if all foreign keys to the table have the cascade delete option > > specified, > > then it is automatic. This is the option I most of the time

Re: [Lazarus] [OT] How to delete a record/object being used

2008-09-09 Thread Michael Van Canneyt
On Tue, 9 Sep 2008, Graeme Geldenhuys wrote: > Hi, > > [...this is probably off-topic as it's related to database > applications, not Lazarus specifically...] > > > How do you guys handle such a case in database applications. Say you > have an TAddressType object/record. Now you have a lot

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-08 Thread Michael Van Canneyt
On Mon, 8 Sep 2008, Mattias Gärtner wrote: > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > > On Mon, 8 Sep 2008, Mattias Gaertner wrote: > > > > > On Mon, 8 Sep 2008 08:49:32 +0200 > > > "Graeme Geldenhuys" <

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-08 Thread Michael Van Canneyt
On Mon, 8 Sep 2008, Mattias Gaertner wrote: > On Mon, 8 Sep 2008 08:49:32 +0200 > "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > > > On Mon, Sep 8, 2008 at 7:22 AM, Vincent Snijders > > <[EMAIL PROTECTED]> wrote: > > > > > > Do you choose, Project -> New -> Program? > > > > > > How would you

Re: [Lazarus] Dear developers... TStream.ReadAnsiString

2008-09-06 Thread Michael Van Canneyt
On Sat, 6 Sep 2008, Osvaldo TCF - Listas wrote: > Environment: > Ubuntu 8.04.1 > XFCe > FPC 2.2.3 > Lazarus r16444 > GTK2 > -- > Problem: > Tstream.readansistring is not ok! > > affected: > > TDBImage > Lazreport > >

Re: [Lazarus] Delphi 2009 says goodbye to Windows 9x and WinNT 4

2008-09-01 Thread Michael Van Canneyt
On Mon, 1 Sep 2008, Graeme Geldenhuys wrote: > On 9/1/08, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > They are a commercial company, and there is no money to be made in win95. > > Supporting win95 means more than just the unicode string, and holds bac

Re: [Lazarus] Delphi 2009 says goodbye to Windows 9x and WinNT 4

2008-09-01 Thread Michael Van Canneyt
On Mon, 1 Sep 2008, Felipe Monteiro de Carvalho wrote: > On Mon, Sep 1, 2008 at 10:32 AM, Graeme Geldenhuys > <[EMAIL PROTECTED]> wrote: > > How does FPC/Lazarus stand regarding this? I remember Felipe mention > > that it is possible to support Win9x, or maybe I didn't understand him > > correc

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Burkhard Carstens wrote: > Am Freitag, 29. August 2008 10:29 schrieb Michael Van Canneyt: > > On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: > > > Hi, > > > > > > May applications, but mostly installations packages like > > > Inst

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: > Hi, > > May applications, but mostly installations packages like InstallShield > use a Wizard style interface. Start application, click Next, Next, > Next, Finish. :-) > > How do you create such a Wizard interface? > > * Is in a lot of forms, d

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: > 2008/8/29 Reenen Laurie <[EMAIL PROTECTED]>: > > Hi everyone, > > > > I now spent a lot of time customizing my "spaces" after and before (on > > Environment - > Code Tools Options -> Spaces), just the way I like it. > > I've done the same, but fou

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Mattias Gärtner wrote: > Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>: > > > Hi Everybody, > > > > I have been battling with some code in tiOPF that causes problems when > > compiled with Delphi 2007, but not with Delphi 7 and FPC. > > After some head scratching, we foun

Re: [Lazarus] LNet component Event vs thread ? faster or more reliable?

2008-08-28 Thread Michael Van Canneyt
On Thu, 28 Aug 2008, davy zhang wrote: > I know there are bunch of defects of thread programing and not every > one like to use it > > but I am still wondering the real efficiency of these two model > > if we use multi-core cpu, which one is faster, or it just depends on > the compiler's opti

[Lazarus] Class chart generator

2008-08-25 Thread Michael Van Canneyt
Hi, I just committed a small program under fpdoc - fpclasschart - which will create a XML tree with all classes/objects/interfaces it finds in a set of files. The sources are parsed and forward class declarations are skipped. It has support for merging class trees. It's thoroughly tested on FCL-

[Lazarus] Lazreport patch

2008-08-25 Thread Michael Van Canneyt
Hi, Attached is a patch for lazreport. It fixes several issues: - tfrdesigner is now registered as a component, so it can be dropped on a form, giving end-users the possibility to design their reports. - Fixed bug that prevented checkbox/roundrect/shape buttons from being visible when designi

Re: [Lazarus] Reliable access violations in IDE.

2008-08-23 Thread Michael Van Canneyt
On Sat, 23 Aug 2008, Mattias Gaertner wrote: > On Sat, 23 Aug 2008 16:58:59 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Looks like > http://bugs.freepascal.org/view.php?id=11926 > > and the real bug is > http://bugs.freepascal.org/view.php

[Lazarus] More access violations...

2008-08-23 Thread Michael Van Canneyt
Hi, Same configuration as usual: Recent FPC, 64 bit, GTK 1. Today's lazarus. Open SQLStringsPropertyEditorDlg in components/sqldblaz. On closing the unit, access violation: TProject.UpdateUnitComponentDependencies checking properties ... Search UnitComponent=SQLStringsPropertyEditorDlg:TSQLStr

Re: [Lazarus] Lazarus no longer compiles. (Mattias ?)

2008-08-23 Thread Michael Van Canneyt
On Sat, 23 Aug 2008, Mattias Gaertner wrote: > On Sat, 23 Aug 2008 16:46:27 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > Lazarus fails to compile. > > > > Function ReadNextFPCParameter is used in packagesystem.pas, but

Re: [Lazarus] Reliable access violations in IDE.

2008-08-23 Thread Michael Van Canneyt
On Sat, 23 Aug 2008, Felipe Monteiro de Carvalho wrote: > There is some tipical information missing: widgetset, operating > system, free pascal version GTK 1, Linux, fpc 2.3.1 of 30 july, 64-bit. Although I suspect this is rather irrelevant, seeing where the error is in the code... Michael. _

Re: [Lazarus] A little contribution

2008-08-23 Thread Michael Van Canneyt
On Wed, 6 Aug 2008, Carlos German Tejero wrote: > >2008/8/6 Michael Van Canneyt <[EMAIL PROTECTED]>: > > Looks good. > Thanks!! > > > If it is OK with you, I'll integrate it in the lazsqldb package, > > so it can be included in Lazarus by default ? &

[Lazarus] Reliable access violations in IDE.

2008-08-23 Thread Michael Van Canneyt
Hi, The following invariably produces an access violation in the latest lazarus: - Start lazarus - Drop syneditmemo on form - Click on syneditmemo. ...and BOOM ! Backtrace: 0 0x in ?? () #1 0x00a3fd5a in LAZGETMETHODPROP (LAZGETMETHODPROP={CODE = 0x0, DATA = 0x0}, IN

[Lazarus] Lazarus no longer compiles. (Mattias ?)

2008-08-23 Thread Michael Van Canneyt
Lazarus fails to compile. Function ReadNextFPCParameter is used in packagesystem.pas, but is nowhere defined. Latest Lazarus from SVN. Michael. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinf

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-23 Thread Michael Van Canneyt
On Fri, 22 Aug 2008, Tom Verhoeff wrote: > Since project.ini seems to be treated specially anyway (it is > not copied), it makes sense to treat project.* also specially > and substitute $(ProjName) for 'project'. I will then add an > example... > > (I'll start a new thread on renaming files wi

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-22 Thread Michael Van Canneyt
On Fri, 22 Aug 2008, Tom Verhoeff wrote: > On Fri, Aug 22, 2008 at 09:25:23AM +0200, Michael Van Canneyt wrote: > > > > > > 7. It is not clear to me what the requirements are for naming files > > > in the template, and how these names get changed when the

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-22 Thread Michael Van Canneyt
On Fri, 22 Aug 2008, Mattias Gärtner wrote: > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > >[...] > > > 3. Why are the "built-in" 'New Project' options, such as Custom Program, > > > not handled via the templat

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-22 Thread Michael Van Canneyt
On Tue, 19 Aug 2008, Tom Verhoeff wrote: > On Mon, Aug 18, 2008 at 05:32:17PM +0200, Michael Van Canneyt wrote: > > > > On Mon, 18 Aug 2008, Tom Verhoeff wrote: > > > > > Where can one find the article? Or is this the same as the README.txt > &

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Michael Van Canneyt
> > > On Tue, 19 Aug 2008, Eduardo Lopez wrote: > > > Yes!! It works now.!! > > My challenge is now: > > a) modify all my db structure or b) replace the sqldb components with zeos. Or pad your parameters. Meanwhile I think I know why the problem exists, I will consult with Joost for a test a

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Michael Van Canneyt
On Tue, 19 Aug 2008, Eduardo Lopez wrote: > I'm sorry. The table has a basic structure: CREATE TABLE USUARIOS ( CODUSU Char(12) NOT NULL, APENOMB Char(40) NOT NULL, PASSWOR Char(12) NOT NULL, CONSTRAINT PK_USUARIOS PRIMARY KEY (CODUSU) ); Aha. This is probably your problem. Try extending

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Michael Van Canneyt
On Tue, 19 Aug 2008, Vincent Snijders wrote: > Michael Van Canneyt schreef: > >> > >> On Mon, 18 Aug 2008, Eduardo Lopez wrote: > >> http://www.sistemasrpm.com.ar/soporte/test_param.tar.g > > > > I get a permission denied error trying to access t

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Michael Van Canneyt
> > > On Mon, 18 Aug 2008, Eduardo Lopez wrote: > > > Joost van der Sluis escribió: > >> I isolate the problem doing a simple program and the problem remains. > >> Then make a copy of this simple program and change the components to > >> Zeos. (6.6.3-stable) and works well. > >> > >> I'll consi

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-18 Thread Michael Van Canneyt
> > > On Mon, 18 Aug 2008, Eduardo Lopez wrote: > > > Joost van der Sluis escribió: > >> I isolate the problem doing a simple program and the problem remains. > >> Then make a copy of this simple program and change the components to > >> Zeos. (6.6.3-stable) and works well. > >> > >> I'll consi

Re: [Lazarus] Lazreport, again.

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Michael Van Canneyt wrote: > > > > > > For the moment this one should fixed in r16090. > > > > > > > > > > Thank you very much, > > > > > I will test tomorrow. Hopefully it will be better :-) > > > &

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Mattias Gärtner wrote: > > Concerning recurse: > > > > line 405 of ProjectTemplates.pp contains > > > > If (FindFirst(Dir+'*',0,Info)<>0) then > > > > that should be > > If (FindFirst(Dir+'*',0,Info)=0) then > > > > Mattias, should I send a patch, or commit directly

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Tom Verhoeff wrote: > On Mon, Aug 18, 2008 at 04:03:39PM +0200, Michael Van Canneyt wrote: > > > > On Mon, 18 Aug 2008, Tom Verhoeff wrote: > > > > > How can you add your own template to be available for use when creating > > > a ne

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-18 Thread Michael Van Canneyt
> > > On Mon, 18 Aug 2008, Graeme Geldenhuys wrote: > > > On Mon, Aug 18, 2008 at 4:16 PM, Mattias Gärtner > <[EMAIL PROTECTED]> wrote: > > > > See components/projecttemplates/README.txt > > Hi Mattias, > > I'm playing a bit more with the project templates. How is the > project.ini file suppo

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-18 Thread Michael Van Canneyt
> > > On Mon, 18 Aug 2008, Graeme Geldenhuys wrote: > > > On Mon, Aug 18, 2008 at 4:16 PM, Mattias Gärtner > <[EMAIL PROTECTED]> wrote: > > > > See components/projecttemplates/README.txt > > I've never actually tried that—until now. That is a brilliant idea > and it works so well! Yet again I

Re: [Lazarus] How to add your own 'New Project' template?

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Tom Verhoeff wrote: > How can you add your own template to be available for use when creating > a new project? > > I would like to include a variation on Custom Program. I have an article describing this, or you can use the project templates (which is actually what the art

Re: [Lazarus] Lazreport, again.

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Mattias Gärtner wrote: > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > >[...] > > > > On Mon, 18 Aug 2008, Mattias Gärtner wrote: > > > > > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > &g

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Rodney Pont wrote: > On Mon, 18 Aug 2008 02:01:14 -0300, Eduardo Lopez wrote: > > >The following query works well: > > > >qry02.SQL.Clear; > >qry02.SQL.Text:= 'select PASSWOR from USUARIOS where CODUSU = ' + > >chr(39) + trim(pUsuario) + chr(39); > >trn02.Activ

Re: [Lazarus] Lazreport, again.

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Mattias Gärtner wrote: > Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>: > > > > > > > On Sun, 17 Aug 2008, Jesus Reyes wrote: > > > > > > > > > > I've been playing about with it for a couple of hours, &g

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-18 Thread Michael Van Canneyt
On Mon, 18 Aug 2008, Eduardo Lopez wrote: > The scenario: > > Lazarus 0.9.25 svn: 16095M > fpc 2.2.2 > Ubuntu 8.04 GTK2 > SQLDb components > TIBConnection > > The following query works well: > > qry02.SQL.Clear; > qry02.SQL.Text:= 'select PASSWOR from USUARIOS where CODUSU = ' + >

Re: [Lazarus] Lazreport, again.

2008-08-17 Thread Michael Van Canneyt
On Sun, 17 Aug 2008, Jesus Reyes wrote: > > > > I've been playing about with it for a couple of hours, > > and start wondering if anyone has > > ever been able to make a working report with it, it is > > extremely unstable... ? > > The problem above was introduced in latest patch of LazReport,

[Lazarus] Lazreport, again.

2008-08-17 Thread Michael Van Canneyt
hi, I keep getting the following errors in Lazarus when trying to design a report: Gdk-CRITICAL **: file gdkwindow.c: line 727 (gdk_window_unref): assertion `private->ref_count > 0' failed. TCustomForm.SetActiveControl frDesignerForm:TfrDesignerForm AWinControl=ValueEdit:TEdit GetParentForm(AW

Re: [Lazarus] About Lazarus TWebbrowser solution

2008-08-17 Thread Michael Van Canneyt
On Sun, 17 Aug 2008, davy zhang wrote: > can Ipro suit work with the internet url browsing? > > Like the IE Core twebbrowser in delphi. > > if we can work with FireFox, that would be so cool to have a > cross-platform web browser component! I am working on getting Gecko (the firefox engine) t

[Lazarus] Lazreport issue

2008-08-17 Thread Michael Van Canneyt
Hi, Nothing serious, but could the lazreport project on sourceforge be closed somehow ? I mistakenly downloaded and tried to install it, leading to all kinds of errors before I realized that lazreport is actually included in Lazarus under components/lazreport... Maybe the project should not be r

Re: [Lazarus] Embedding sqlite

2008-08-16 Thread Michael Van Canneyt
On Sat, 16 Aug 2008, Tom Lisjac wrote: > Is there a how-to or documentation on embedding the sqlite libraries > in the Linux executable? I'm pretty sure this is possible but haven't > been able to find anything that describes the process. If you mean a a standalone binary that does not use the

Re: [Lazarus] Codepage question

2008-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2008, Mattias Gaertner wrote: > On Fri, 15 Aug 2008 13:04:44 +0200 (CEST) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have a DBF file which has data in some DOS codepage. > > I'm trying to get the contents

[Lazarus] Codepage question

2008-08-15 Thread Michael Van Canneyt
Hi, I have a DBF file which has data in some DOS codepage. I'm trying to get the contents displayed correctly in Linux. I am aware of the 'OnTranslate' event of the TDBF component. (obviously, all TStringFields have Transliterate set to True) I am also aware that there is some OEMToAnsi windows

Re: [Lazarus] The last version of the manuals

2008-08-13 Thread Michael Van Canneyt
On Wed, 13 Aug 2008, Arí Ricardo Ody wrote: > I'd like to download the last PDF version of the Lazarus/FPC manuals. > > Which is the URL where I find them, please. The website http://www.freepascal.org/docs.var contains a link to the latest version. Both PDF and HTML. You can also download v

<    1   2   3   4   >