Re: [Lazarus] Form position model

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:49 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: How should form positions be treated, when the project is not developed on the first/primary monitor? You are raising very good questions... IMO we should distinguish between projects developed *for* single or

[Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
Hi, I often have large classes that are bigger than what the source editor can display at once. I'm mainly talking about tiOPF project here. Anyway, I receive patches for large methods and use the IDE 'goto line' command to maybe review or modify a received patch. Again, the IDE only shows me

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Code explorer can follow the cursor. That's what I tried first, but can't see how or where it indicates what class. I'm currently in a method as follows: TtiObjectListTestCase.FindByProps_PropertyPath Yet the

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:50 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 2, 2009 at 12:47 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Code explorer can follow the cursor. That's what I tried first, but can't see how or where it indicates what class. I'm

Re: [Lazarus] Building Lazarus SVN on Mac OS X 10.4 intel

2009-04-02 Thread Mattias Gaertner
On Tue, 31 Mar 2009 22:03:12 +0200 Roland Turcan k...@rotursoft.sk wrote: Hello lazarus project! How should I call compiler to get Lazarus IDE running on MacOS X 10.4. I can build lazarus fine, but after start it shows: dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Sayyid Ibnu Husein Alatas
Graeme Geldenhuys graemeg.li...@gmail.com wrote: Is there a way to quickly see what class I am currently in without loosing my current position in the source code? I was thinking of maybe some editor shortcut that could display for a few seconds the classname in the top right corner of the

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Reenen Laurie
Graeme wrote: I remember in the VB6 days, there was two edit fields above the editor. One listed the module or class (I think) and the other listed the procedure you were in. So clearly knowing where you are is handy to more than just me. :-) I tried to implement *exactly that* in the IDE a

Re: [Lazarus] newBie..About Lazarus+Wince

2009-04-02 Thread Dimitrios Chr. Ioannidis
Hi, O/H Allies Xposs έγραψε: for all ... I am sorry, because i am newbie at WinCe... I already Try simple application For Wince with (Firebird databasConnection+Query+Datasource+Clientdataset) at PDA OS Windows Mobile 5. And i try to connect at PC (Ip 192.168.0.1:C:\data\mydata.gdb) but

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 Reenen Laurie rlau...@gmail.com: Personally, I'd like to see it implemented with the two comboboxes, because not only does it show you where you are, but also lets you go where you want to go pretty easily. That's why I ported the Procedure List expert a year or so ago. It allows me

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Sayyid Ibnu Husein Alatas
From: Graeme Geldenhuys graemeg.li...@gmail.com To: General mailing list lazarus@lazarus.freepascal.org Sent: Thursday, April 2, 2009 5:50:46 PM Subject: Re: [Lazarus] ide enhancement - method or cursor location belongs to what class? On Thu, Apr 2, 2009 at

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Code explorer can follow the cursor. Can you explain how? I tried all the settings in Code Explorer and nothing allows the following the cursor behaviour. Regards, - Graeme -

[Lazarus] Need to move down TWinCEWSCustomPage

2009-04-02 Thread haword
WinCE supports drawing TabPage headers on top. But this prevents TWinCEWSCustomPage which is located on top. Who knows whether or how to move it down? ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Building Lazarus SVN on Mac OS X 10.4 intel

2009-04-02 Thread Roland Turcan
Hello Mattias, Thanks for your reply. I know this document which describes how to build an application on 10.5 for 10.4, but my initial question was: How to get Lazarus working on 10.4, because when I build it up on 10.4 then startup shows the same: dyld: Library not loaded:

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Alexander Klenin
On Fri, Apr 3, 2009 at 00:13, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Code explorer can follow the cursor. Can you explain how? I tried all the settings in Code Explorer and nothing allows the

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote: I'm starting some projects, and I will develop them from OSX and Windows. On windows, seems all ok, but from OSX I'm getting some troubles thath stops me now. It's because Windows has crappy security. :-) Now,

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:03 PM, Michael Van Canneyt mich...@freepascal.org wrote: It does not require fblib; I use it with SQLDB in a commercial app. Correct. FBLib was one of the persistence layers and was enabled by default for Free Pascal / Lazarus. It has now been disabled by default and

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:18 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote: Well, the .lpk requires FBLib, as describes in lazarus.wiki too (1) I downloaded the latest release on downloads section at sourceforge. I can't keep up with updating everything... :-( That wiki page is

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Giuseppe Luigi Punzi
Hi, Yes, tiOPF compiles well, but not tiOPFGUI with an error unit not found Htmlview. I searched on google and seems something about GTK. Some idea? You know if tiOPF works under OSX? Cheers. Graeme Geldenhuys escribió: On Thu, Apr 2, 2009 at 4:18 PM, Giuseppe Luigi Punzi

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Giuseppe Luigi Punzi
It's sounds me thath I swarched over firebird.conf file, and, this option was commented (default = full access) Otherwise, I will try some options when back to home. Thanks Graeme Geldenhuys escribió: On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote:

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 5:30 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote: Yes, tiOPF compiles well, but not tiOPFGUI with an error unit not found Htmlview. I searched on google and seems something about GTK. Some idea? Htmlview as far as I know is a Delphi unit. Are you using the

[Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Igor Tkachenko
Hello everyone! As stated in this article http://wiki.freepascal.org/Size_Matters Lazarus apps on Windows are about 500k, but quickly grow to 1.5 MB however I cannot made Lazarus to build empty application less than 1.8 MB. I've enabled option Link Smart at Linking tab of compiler options as well

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Giuseppe Luigi Punzi
Hi again Graeme, Graeme Geldenhuys escribió: On Thu, Apr 2, 2009 at 5:30 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote: Yes, tiOPF compiles well, but not tiOPFGUI with an error unit not found Htmlview. I searched on google and seems something about GTK. Some idea? Htmlview

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Vincent Snijders
Igor Tkachenko schreef: Does this mean that 1.8 MB is the size of empty Lazarus application now? Yes. For an application that includes the LCL. Or I do something wrong? No. I think the size of 500 kB was too high from the beginning, I never saw it smaller than 1 or 1.2 MB, but the size has

[Lazarus] Strange behaviour in code generation of function / procedure body

2009-04-02 Thread e...@free.fr
A Simple example: (with lazarus 0.9.26.3) Procedure MyProcedure; overload; stdcall; Now Hit ctrl + shift + C to generate the body of this procedure. You'll get the following code: Procedure MyProcedure; begin end; The compiler now screams, because sdtcall is missing in the body

[Lazarus] How to jump to the begin/end of current block?

2009-04-02 Thread Sayyid Ibnu Husein Alatas
I'm creating a program contains many deep branchs of condition checking using IF and CASE statement. Is there a way/shortcut key in Lazarus to jump to the begin/end of current block? Although IDE now autohighlights the begin end of current block while the caret is at a END/BEGIN statement,

Re: [Lazarus] ide enhancement - method or cursor location belongs to what class?

2009-04-02 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: On Fri, Apr 3, 2009 at 00:13, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 2, 2009 at 12:28 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Code explorer can follow the cursor. Can you explain how? I tried all the

Re: [Lazarus] How to jump to the begin/end of current block?

2009-04-02 Thread dmitry boyarintsev
I'm creating a program contains many deep branchs of condition checking using IF and CASE statement. Is there a way/shortcut key in Lazarus to jump to the begin/end of current block? i'd suggest to break long branch of condition checks into functions/procedures. thanks, Dmitry

Re: [Lazarus] ORM in Lazarus / Freepascal

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 7:22 PM, Giuseppe Luigi Punzi glpu...@lordzealon.com wrote: Oh, I builded tiOPFGUI because the wiki entry sais to compile it. Like I said, that wiki page is outdated. Ok, I can compile tiOPF and tiOPFlcl. I will play a little with it on my Mac later. Please keep use

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 Giuseppe Luigi Punzi Ruiz glpu...@lordzealon.com: galilea:testfb glpunzi$ ls -all /Library/Frameworks/Firebird.framework/Versions/Current/Resources/examples/empbuild/ What happens if you move your database into this examples directory? Can you access it then? -rw-rw 1

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Felipe Monteiro de Carvalho
The application is not empty. If you check the symbols inside the application you will see that almost all LCL components are added, and PNG support, XML library, etc, etc, etc, even if not used. The smartlinking is simply not yet good enought to remove those parts. This isn't such a big deal

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote: And this has been debated 1 million times before, please search in the mailling list archives. This also means that problem of big executable size worries developers. Maybe we need to research more how to make our executables smaller. Best regards, Paul

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-02 Thread Paul Ishenin
Igor Tkachenko wrote: Hello everyone! As stated in this article http://wiki.freepascal.org/Size_Matters Lazarus apps on Windows are about 500k, but quickly grow to 1.5 MB however I cannot made Lazarus to build empty application less than 1.8 MB. I've enabled option Link Smart at Linking