Re: [Lazarus] Generic Matrix Class for nice matrix formulas

2009-03-11 Thread Paul Ishenin
p...@fe.up.pt wrote: A Matrix Class that uses operator overloading for nice matrix formulas is now available here: http://paginas.fe.up.pt/~paco/pmwiki/index.php?n=DynMatrix.DynMatrix It can represent a doubles matrix with any number of row or columns. It is released under the Modified

[Lazarus] Unable to find the unit if the component class TNoBackPage

2009-03-11 Thread Roland Turcan
Hello lazarus project! I have my own component, which successfully installed into Lazarus. When I use this component on any form after reopening/reloading form it reports an error. That is a simple notebook implementation with no background to get pages transparent. That component's unit

Re: [Lazarus] Unable to find the unit if the component class TNoBackPage

2009-03-11 Thread Mattias Gaertner
On Wed, 11 Mar 2009 11:30:52 +0100 Roland Turcan k...@rotursoft.sk wrote: Hello lazarus project! I have my own component, which successfully installed into Lazarus. When I use this component on any form after reopening/reloading form it reports an error. That is a simple notebook

Re: [Lazarus] Unable to find the unit if the component class TNoBackPage

2009-03-11 Thread Roland Turcan
Hello Mattias, MG Have you tried to register the class TNoBackPage earlier, for example MG in a Register procedure? I have ported this code from Delphi 7, where the register procedure contains: PROCEDURE Register; BEGIN RegisterComponents ('rotursoft', [TNoBackNotebook]); END; Shall I add

Re: [Lazarus] Unable to find the unit if the component class TNoBackPage

2009-03-11 Thread Hans-Peter Diettrich
Roland Turcan schrieb: I have my own component, which successfully installed into Lazarus. When I use this component on any form after reopening/reloading form it reports an error. That is a simple notebook implementation with no background to get pages transparent. What's this?

[Lazarus] Compiling for both GTK1 and GTK2 in Lazarus built from SVN

2009-03-11 Thread Bart
Hi, I have a problem trying to compile for both GTK2 and GTK1 when using Lazarus from SVN. I have my SVN Lazarus in ~/svnroot/lazarus (revision 18956 a.t.m) b...@simenon:~/svnroot/lazarus make clean all LCL_PLATFORM=gtk2 This nicely builds Lazarus with GTK2 as the widgetset. Now Lazarus is

Re: [Lazarus] Generic Matrix Class for nice matrix formulas

2009-03-11 Thread paco
Quoting Paul Ishenin I see your matrix store double type value. Is it possible to write a generic matrix class using FPC class templates (although I never used FPC templates)? While I think it is possible it doesn't seem a good idea in terms of extra work versus the extra functionality: I

[Lazarus] TFloatSpinEdit and DecimalSeparator (GTK)

2009-03-11 Thread Bart
In Windows TFloatSpinEdit responds to changes in DecimalSeparator (if you update the control). I noticed that in Linux GTK it does not. (I use WinMe and Suse 10.0) Observed behaviour GTK1 - DecimalSeparator at programstart: '.' (period) - DecimalSeparator visible in control: ',' (comma) -

Re: [Lazarus] Compiling for both GTK1 and GTK2 in Lazarus built from SVN

2009-03-11 Thread Vincent Snijders
Bart schreef: Hi, As suggested (some time ago) by Marc I did b...@simenon:~/svnroot/lazarus make lcl LCL_PLATFORM=gtk1 make lcl LCL_PLATFORM=gtk Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] TFloatSpinEdit and DecimalSeparator (GTK)

2009-03-11 Thread Felipe Monteiro de Carvalho
Here are the docs for the gtk2 control: http://library.gnome.org/devel/gtk/stable/GtkSpinButton.html I cant find anything about the separator. They probably use something from libc for the separator ... one would need to check the gtk source code and see what they are doing there. -- Felipe

Re: [Lazarus] TFloatSpinEdit and DecimalSeparator (GTK)

2009-03-11 Thread zeljko
On Wednesday 11 March 2009 15:01, Bart wrote: In Windows TFloatSpinEdit responds to changes in DecimalSeparator (if you update the control). I noticed that in Linux GTK it does not. (I use WinMe and Suse 10.0) Observed behaviour GTK1 - DecimalSeparator at programstart: '.' (period) -

Re: [Lazarus] Adding units to a project

2009-03-11 Thread Antonio Sanguigni
My question is: Do I need to create a package to use that units or I'm missing something ? This is the recommended method if you share units between projects. It just works much easier. If you normally add a unit which lives in a different directory than other units, Lazarus normally

[Lazarus] How about new State in Mantis ?

2009-03-11 Thread Samuel Herzog
Hi all, from time to time I go through the open issues in the BugTracker to see if I can help. And sometimes I see issues which have comments like Please test if ok,Please close if ok,Please test Would it make sense to have a new State like Ready for testing ? Regards, Sam

Re: [Lazarus] How about new State in Mantis ?

2009-03-11 Thread dmitry boyarintsev
Would it make sense to have a new  State like Ready for testing ? Why don't you like Resolved or Freed back? Thanks, Dmitry ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How about new State in Mantis ?

2009-03-11 Thread waldo kitty
dmitry boyarintsev wrote: Would it make sense to have a new State like Ready for testing ? Why don't you like Resolved or Freed back? wouldn't that come after having been tested as indicated by the Ready for testing status? ;) just tossing my 2 pesos in :) -- NOTE: NEW EMAIL ADDRESS!!

Re: [Lazarus] Unable to find the unit if the component class TNoBackPage

2009-03-11 Thread Roland Turcan
Hello Hans, Thanks for your showing to the right direction. You were right, that I had to move explicit registration of TNoBackPage to Register procedure as the main component has its own one. Afterwards I didn't get any more any exception from IDE. Thanks again. TRoland; 11.3.2009 14:11 -

[Lazarus] SQLDB invalid handle

2009-03-11 Thread Stephano
The following code produces an error: ODBCConnection1.Connected := True; SQLQuery1.Active := True; SQLQuery1.Active := false; ODBCConnection1.Connected := False; ODBCConnection1.Connected := True; SQLQuery1.Active := True; - error SQLQuery1.Active := false;

Re: [Lazarus] How about new State in Mantis ?

2009-03-11 Thread Marc Weustink
Samuel Herzog wrote: Hi all, from time to time I go through the open issues in the BugTracker to see if I can help. And sometimes I see issues which have comments like Please test if ok,Please close if ok,Please test Would it make sense to have a new State like Ready for testing ?

[Lazarus] Access violation during compilation and linking

2009-03-11 Thread Roland Turcan
Hello all, It often happens to me, that during compilation FPC raises an exception and often is enough just to clean up directories where are *.o and *.ppu located. Sometimes it depends also on a problem in my code, but it is very difficult to distinguish where the problem is. Can I build FPC