Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread michael . vancanneyt
On Thu, 18 Nov 2010, Graeme Geldenhuys wrote: Op 2010-11-18 00:19, Jesus Reyes het geskryf: Sure, I think it can be improved but currently I have other priorities. Understood, I just wanted to know if it was a known problems. For the LCL version of my app, I'll try the ListView (or

Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread Graeme Geldenhuys
Op 2010-11-18 10:51, michael.vancann...@ het geskryf: documentation takes longer than I expected. Now I fully respect the effort Michael put in to write the RTL and FCL docs. Recognition, at last... :) :-) Indeed, you did an amazing job. Regards, - Graeme - -- fpGUI Toolkit - a

Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread michael . vancanneyt
On Thu, 18 Nov 2010, Graeme Geldenhuys wrote: Op 2010-11-18 10:51, michael.vancann...@ het geskryf: documentation takes longer than I expected. Now I fully respect the effort Michael put in to write the RTL and FCL docs. Recognition, at last... :) :-) Indeed, you did an amazing job.

Re: [Lazarus] Lazarus from Daily Snapshots

2010-11-18 Thread faber
2010/11/17 Vincent Snijders vincent.snijd...@gmail.com: Change the fpc source directory, so that is starts with a C: instead of c: I suspected it was something with fpc-sources but unfortunately switching to C: does not help, I had all paths started with C:\ and the path to the sources was

Re: [Lazarus] Lazarus from Daily Snapshots

2010-11-18 Thread faber
2010/11/17 Vincent Snijders vincent.snijd...@gmail.com: Change the fpc source directory, so that is starts with a C: instead of c: Vincent I suspected it was something with fpc-sources but unfortunately switching to C: does not help, I had all paths started with C:\ and the path to the

[Lazarus] Windows Metafile *.wmf *.emf control

2010-11-18 Thread Birger Jansen
Hi, Does anyone know of a control that can handle the Windows wmf and/or emf file format to diaply images? I have had some succes with this control: http://wiki.freepascal.org/TMetafile_/_TMetafileCanvas but it lacks the SaveTo* and LoadFrom* functions that I am looking for. Kind regards,

Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread Marc Weustink
Graeme Geldenhuys wrote: Op 2010-11-18 00:19, Jesus Reyes het geskryf: Sure, I think it can be improved but currently I have other priorities. Understood, I just wanted to know if it was a known problems. For the LCL version of my app, I'll try the ListView (or TreeView like Lazarus IDE

Re: [Lazarus] Should using frames result in duplicate name errors?

2010-11-18 Thread Marc Weustink
Steve Smith wrote: On Wed, 17 Nov 2010 17:45:01 + Frank Church vfcli...@gmail.com wrote I am trying to use frames to create the same element repeatedly on a form, but when I copy them in the IDE or create them and set their parents at runtime, I get duplicate name errors. Isn't Lazarus

Re: [Lazarus] Should using frames result in duplicate name errors?

2010-11-18 Thread Frank Church
On 18 November 2010 09:41, Marc Weustink marc.weust...@cuperus.nl wrote: Steve Smith wrote: On Wed, 17 Nov 2010 17:45:01 + Frank Church vfcli...@gmail.com wrote I am trying to use frames to create the same element repeatedly on a form, but when I copy them in the IDE or create them

[Lazarus] TStringList as published property of a component

2010-11-18 Thread Alberto Manganaro
Hi, first of all, as it's the first time I write here, I'd like to thank all the people involved in the development/testing/mantaining/etc of Lazarus :-) I would like to understand better how to deal with the properties of a visual component. My problem is the following: I'm writing a

Re: [Lazarus] Should using frames result in duplicate name errors?

2010-11-18 Thread Frank Church
On 17 November 2010 20:22, Frank Church vfcli...@gmail.com wrote: On 17 November 2010 19:28, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Wed, 17 Nov 2010 17:45:01 + Frank Church vfcli...@gmail.com wrote: I am trying to use frames to create the same element repeatedly on a

Re: [Lazarus] TStringList as published property of a component

2010-11-18 Thread michael . vancanneyt
On Thu, 18 Nov 2010, Alberto Manganaro wrote: Hi, first of all, as it's the first time I write here, I'd like to thank all the people involved in the development/testing/mantaining/etc of Lazarus :-) I would like to understand better how to deal with the properties of a visual component.

Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread zeljko
On Thursday 18 November 2010 08:47, Graeme Geldenhuys wrote: Fixed rows are handled differently in fpGUI. Fixed rows are not part of the rowcount in fpGUI. They are separated out, and have their own dedicated properties to adjust the header style, content, width etc. So your rowCount doesn't

Re: [Lazarus] Windows Metafile *.wmf *.emf control

2010-11-18 Thread zeljko
On Thursday 18 November 2010 10:38, Birger Jansen wrote: Hi, Does anyone know of a control that can handle the Windows wmf and/or emf file format to diaply images? I have had some succes with this control: http://wiki.freepascal.org/TMetafile_/_TMetafileCanvas but it lacks the SaveTo* and

Re: [Lazarus] TStringList as published property of a component

2010-11-18 Thread Alberto Manganaro
Dear Michael, thanks for your reply. But actually I already did what you suggested! Luckily your message made me think again and I found out that the problem was not there: information int the string list was correclty stored even when inserting strings at design-time. But these strings were

Re: [Lazarus] Database access and thread-safety

2010-11-18 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Martin Schreiber wrote: On Monday, 8. November 2010 10.19:31 Mark Morgan Lloyd wrote: My normal preference would have been to use ODBC or similar to improve portability. However in the current case I want to use the PostgreSQL-specific LISTEN/NOTIFY facility to save

Re: [Lazarus] StringGrid performance problems

2010-11-18 Thread Graeme Geldenhuys
Op 2010-11-18 12:57, zeljko het geskryf: So your rowCount doesn't take into account headers and Cells[0,1] := 'MyText' doesn't change header cell text but real cell ? Correct. Headers are just that, headers (or also known as Columns). Rows are just that, rows. The concept seems quite logical

[Lazarus] LCL Defines

2010-11-18 Thread Dimitrios Chr. Ioannidis
Hi all, where can i find all the current LCL defines ? For example -dUseVistaDialogs or -UseCLDefault ... regards, -- Dimitrios Chr. Ioannidis -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Make option for specific package

2010-11-18 Thread Andrew Brunner
I was wondering how I can make Lazarus build with specific packages. Right now I need lazdaemon installed in the ide when I use make clean bigide. But I'm always having to remove/close/open/add packages each time I do an SVN update. Any ideas? Thanks. --

Re: [Lazarus] Make option for specific package

2010-11-18 Thread Vincent Snijders
2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com: I was wondering how I can make Lazarus build with specific packages. Right now I need lazdaemon installed in the ide when I use make clean bigide. Try make idepkg, e.g. make clean all make idepkg Vincent --

Re: [Lazarus] Make option for specific package

2010-11-18 Thread Vincent Snijders
2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com: I was wondering how I can make Lazarus build with specific packages. Right now I need lazdaemon installed in the ide when I use make clean bigide. Try make idepkg, e.g. make clean all make idepkg Vincent --

Re: [Lazarus] LCL Defines

2010-11-18 Thread Mattias Gaertner
On Thu, 18 Nov 2010 15:00:37 +0200 Dimitrios Chr. Ioannidis dioanni...@artesoft.gr wrote: Hi all, where can i find all the current LCL defines ? For example -dUseVistaDialogs or -UseCLDefault ... These are temporary defines - they are not supported and therefore not documented. The wiki

Re: [Lazarus] Make option for specific package

2010-11-18 Thread Mattias Gaertner
On Thu, 18 Nov 2010 15:13:41 +0100 Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com: I was wondering how I can make Lazarus build with specific packages. Right now I need lazdaemon installed in the ide when I use make clean bigide.

Re: [Lazarus] LCL Defines

2010-11-18 Thread Felipe Monteiro de Carvalho
On Thu, Nov 18, 2010 at 5:49 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: The wiki pages about each widgetset contains the supported flags. Actually there is a centralized defines page: http://wiki.freepascal.org/LCL_Defines But I think that only Qt is reasonably complete there --

Re: [Lazarus] Does Lazarus support component templates?

2010-11-18 Thread Frank Church
On 18 November 2010 01:16, Frank Church vfcli...@gmail.com wrote: Does Lazarus support component templates, like in http://docwiki.embarcadero.com/RADStudio/en/Creating_and_using_component_templates_%28C%2B%2B%29 ? I think I saw them on the menu some time ago, unless it was frames, or they

Re: [Lazarus] Does Lazarus support component templates?

2010-11-18 Thread Graeme Geldenhuys
I know the delphi feature you mention, I used it back in Delphi 7 too. I'm not a Lazarus IDE deveolper, but I had a look through all the menus in Lazarus IDE, and no it doesn't seem to have that feature. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] Does Lazarus support component templates?

2010-11-18 Thread Paul Ishenin
18.11.2010 8:16, Frank Church wrote: Does Lazarus support component templates, like in http://docwiki.embarcadero.com/RADStudio/en/Creating_and_using_component_templates_%28C%2B%2B%29? No it does not. Best regards, Paul Ishenin -- ___ Lazarus

Re: [Lazarus] Make option for specific package

2010-11-18 Thread Graeme Geldenhuys
Op 2010-11-18 18:50, Mattias Gaertner het geskryf: make clean all make idepkg This will not update the packages. Try: make clean all ./lazbuild --build-ide= Another classic example of why makefiles are such a terrible idea. Why not simply create a GUI and/or Console app that lists the

[Lazarus] Windows Explorer context menu plug-in with fpc?

2010-11-18 Thread Bo Berglund
Is it possible to make a Windows Explorer plug-in DLL using FPC/Lazarus? What I mean is the type where you see a submenu in the rightclick menu in Explorer like for example TortoiseSVN displays. As far as I have understood Win7x64 requires the plug-in to be 64 bit so it cannot be done in Delphi

Re: [Lazarus] How do you create some kind of type definition based on adding a set if identical functions to different objects with different ancestors?

2010-11-18 Thread Frank Church
On 17 November 2010 10:39, Frank Church vfcli...@gmail.com wrote: I don't know whether interfaces are what I am looking for here. I am creating an object called TStateInfoSource which needs to display its state using different objects, mainly a TForm, a TFrame, some future TComponent based