Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
George Lober wrote: Andrew Haines wrote: George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a parti

[lazarus] Turbocash may need Lazarus programmers

2005-12-07 Thread George Lober
An interesting article at: http://www.tectonic.co.za/view.php?id=756 Saying, quote: “We are looking for Python or Lazarus programmers. We have not yet decided on the final environment. The database will most likely be Firebird or MySQL,” _

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
Andrew Haines wrote: George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top

Re: [lazarus] Lazarus website on Subversion

2005-12-07 Thread Michael A. Hess
Felipe Monteiro de Carvalho wrote: Some time ago I sent an e-mail with an proposal to add instructions on how to access the mailing list throught gmane. It is fine if someone wants to use gmane but I don't support it so I don't supply information on how to use it. There is no answer after

[lazarus] Cannot Draw Transparent Bitmap

2005-12-07 Thread Felipe Monteiro de Carvalho
Hello sirs, I am trying to draw a transparent bitmap into a Canvas of a TCustomControl descendent. First I load a bitmap, witch has everything on Fuchsia color as transparent. if (not LoadBitmap(bmpTopLeft, 0, MAKEINTRESOURCE(IDB_TOPLEFT), hInstance)) then Exit; bmpTopLeft.Transparent

[lazarus] Lazarus website on Subversion

2005-12-07 Thread Felipe Monteiro de Carvalho
Hello, Some time ago I sent an e-mail with an proposal to add instructions on how to access the mailing list throught gmane. There is no answer after 1 month. If you guys don´t have time (I understand, my time is also very limited), why don´t you put Lazarus website source code on subversio

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Mattias Gaertner wrote: > On Wed, 7 Dec 2005 17:28:50 +0100 (CET) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, 7 Dec 2005, Mattias Gaertner wrote: > > > > > On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) > > > Michael Van Canneyt <[EMA

Re: [lazarus] TListView Questions

2005-12-07 Thread Andrew Haines
George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 7 Dec 2005 17:28:50 +0100 (CET) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 7 Dec 2005, Mattias Gaertner wrote: > > > On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > >[...] > > > Better spend time on

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Mattias Gaertner wrote: > On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > >[...] > > Better spend time on an internal linker for FPC. > > More people will benefit from that :-) > > > > Even then, I think there a

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >[...] > Better spend time on an internal linker for FPC. > More people will benefit from that :-) > > Even then, I think there are other issues that are more important. > e.g. saving all modi

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 17:37:13 +0100 Marc Weustink <[EMAIL PROTECTED]> wrote: > Bogus__aw Brandys wrote: > > Michael Van Canneyt wrote: > > > > > >> > >>On Wed, 7 Dec 2005, Micha Nelissen wrote: > >> > >> > >>>Michael Van Canneyt wrote: > >>> > >>> > >"no project related files" is really a lot

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Marc Weustink
Bogusław Brandys wrote: Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: "no project related files" is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already present. I don't know

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Alexsander Rosa
I use Ctrl-F9 on Delphi often, too. Very useful, but only because it is fast. So really, the linker is the issue. Now I find the idea of theinternal linker not so bad (up in this thread)... the moment the linker is faster. I think this is the main difference with Delphi.Ctrl+F9 was a matter of a se

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window ? ListItem.

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Alexandre Leclerc
On 12/7/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 7 Dec 2005, Philippe.martinole wrote: > > > Hello, > > > >> After reading this thread I ask myself what is wrong with always compiling > > and linking the project? > > > > For me it is very important because compiling the same

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Michael Van Canneyt wrote: > > > On Wed, 7 Dec 2005, Philippe.martinole wrote: > >> Hello, >> >>> After reading this thread I ask myself what is wrong with always >>> compiling >> >> and linking the project? >> >> For me it is very important because compiling the same project on >> Lazarus >> is a

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Michael Van Canneyt wrote: > > > On Wed, 7 Dec 2005, Micha Nelissen wrote: > >> Michael Van Canneyt wrote: >> "no project related files" is really a lot >>> >>> >>> Why ? Lazarus keeps a list of project files in the lpi file. >>> A modified flag is probably already present. >> >> >> I don't k

Re: [lazarus] Day 1: Porting an app from Delphi (CLX) to Lazarus

2005-12-07 Thread Alexandre Leclerc
Hi Graeme, Indeed Zeoslib accesses many databases natively too. I want to work with PostgreSQL... but the possibility to link to other DB is very interesting for the flexibility it gives to the software. I will have to take a look more in deep to OPF to see what it can do for me. There are applic

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Philippe.martinole wrote: Hello, After reading this thread I ask myself what is wrong with always compiling and linking the project? For me it is very important because compiling the same project on Lazarus is a lot slower than with Delphi6PE. I definitly want to leave

Re: [lazarus] Day 1: Porting an app from Delphi (CLX) to Lazarus

2005-12-07 Thread Alexandre Leclerc
Ok, this is what I was planning to do before hearing about the other OPF. But I keep that in mind. Thank you for answering! On 12/6/05, Alexsander Rosa <[EMAIL PROTECTED]> wrote: > I started a blog on this: > http://port2laz.blogspot.com/ > > Leclerc, my OPF is custom made. It's not tiOPF. My OP

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Philippe.martinole
Hello, > After reading this thread I ask myself what is wrong with always compiling and linking the project? For me it is very important because compiling the same project on Lazarus is a lot slower than with Delphi6PE. I definitly want to leave Delphi for Lazarus but it is sometimes difficult to

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Marc Weustink
Lord Satan wrote: After reading this thread I ask myself what is wrong with always compiling and linking the project? I can speak only for myself but most of the time I invoke 'run' I want my project to be rebuild since I know something changed (I am inside an IDE and doing some coding, afte

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Lord Satan
After reading this thread I ask myself what is wrong with always compiling and linking the project? I can speak only for myself but most of the time I invoke 'run' I want my project to be rebuild since I know something changed (I am inside an IDE and doing some coding, after all). If I know th

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread dhkblaszyk
> Please do it under IDE level and simply add additional option to allow > checking by fpc also (for somebody who cares) > I could check in such way: > at first stage : if project files were modified (and timestamp is newer > then existing executable) or executable is missing I personally don't li

Re: [lazarus] Error: Unknown record field identifier "Create"

2005-12-07 Thread Graeme Geldenhuys
Hi, Are you sure, that this is your whole uses clause? Nope, I left out a few, thinking it wasn't important... How do I fix this without having to put the unit name infront of the class name. Move 'SyncObjs' to the end of the uses clause. Ah, found the problem, thanks! I had the 'Sync

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 12:54:04 +0100 Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: > Micha Nelissen wrote: > > > Joost van der Sluis wrote: > > > >> Why not? > >> > >> If the developer uses an editor outside of Lazarus, he should be keen > >> enough to understand that he has to force a build of his

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 07 Dec 2005 12:14:40 +0100 Micha Nelissen <[EMAIL PROTECTED]> wrote: Michael Van Canneyt wrote: "no project related files" is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already p

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: "no project related files" is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already present. I don't know, Mattias may answer that ;-). So it's just a single loop

Re: [lazarus] Error: Unknown record field identifier "Create"

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 11:18:22 +0200 Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > When I use code like this, Lazarus reports the above mentioned error > when I compile. > > > uses >SyncObjs; Are you sure, that this is your whole uses clause? > <...> > var >FCriticalSection: TCritical

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Micha Nelissen wrote: > Joost van der Sluis wrote: > >> Why not? >> >> If the developer uses an editor outside of Lazarus, he should be keen >> enough to understand that he has to force a build of his project. > > > Maybe not an editor but a version control system. Or it's on a network > drive and

[lazarus] some infos about TFileListBox, Zeos & external commands.

2005-12-07 Thread SaintShakaJin
Hello, It's a stupid question but I don't find how to configure the directory in a FileListBox. I haven't seen where I can precise it :( For Zeoslibs, anybody has installed it? I've read the wiki but with the cvs-version I can install zdbc.lpk because Lazarus can read this package, how can I

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 12:14:40 +0100 Micha Nelissen <[EMAIL PROTECTED]> wrote: > Michael Van Canneyt wrote: > >> "no project related files" is really a lot > > > > Why ? Lazarus keeps a list of project files in the lpi file. > > A modified flag is probably already present. > > I don't know, Mattia

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Joost van der Sluis wrote: Why not? If the developer uses an editor outside of Lazarus, he should be keen enough to understand that he has to force a build of his project. Maybe not an editor but a version control system. Or it's on a network drive and somebody else modified a file, or ...

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Joost van der Sluis
On Wed, 2005-12-07 at 12:14 +0100, Micha Nelissen wrote: > Of course we can check whether any open editor files have been > changed, > but that's not what we want, is it? Why not? If the developer uses an editor outside of Lazarus, he should be keen enough to understand that he has to force a bu

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Michael Van Canneyt wrote: "no project related files" is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already present. I don't know, Mattias may answer that ;-). So it's just a single loop with a check for a boolean ? Well those fil

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: The point is that lazarus can already detect itself whether it should call the compiler or not. If no project related files were changed in the IDE since the last succesful compile, then it should not call the compiler at al

Re: [lazarus] TListView Questions

2005-12-07 Thread Marc Weustink
George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window ? ListItem.MakeVisible (or was it En

[lazarus] Error: Unknown record field identifier "Create"

2005-12-07 Thread Graeme Geldenhuys
When I use code like this, Lazarus reports the above mentioned error when I compile. uses SyncObjs; <...> var FCriticalSection: TCriticalSection; begin FCriticalSection := TCriticalSection.Create; Doing a Ctrl+ Lazarus takes me to the struct.inc file instead of the SyncObjs.pas file.

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Vincent Snijders
Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Florian Klaempfl wrote: Yoyong Hernan wrote: Below is a sample "Run" in Lazarus IDE [TMainIDE.DoRunProject] A TMainIDE.DoInitProjectRun A True 0 TMainIDE.DoInitProjectRun B TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TCompiler.Compile]

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Michael Van Canneyt wrote: The point is that lazarus can already detect itself whether it should call the compiler or not. If no project related files were changed in the IDE since the last succesful compile, then it should not call the compiler at all. Moving the responsibility eh? "no project

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: - However, the compiler does always recompile and link the program itself. It has no way of knowing whether it needs to or not, because the source files are not stored in the compiled program. This story is incomplete.

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Michael Van Canneyt wrote: - However, the compiler does always recompile and link the program itself. It has no way of knowing whether it needs to or not, because the source files are not stored in the compiled program. This story is incomplete. Why does the compiler know it does not need t

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Florian Klaempfl wrote: Yoyong Hernan wrote: Below is a sample "Run" in Lazarus IDE [TMainIDE.DoRunProject] A TMainIDE.DoInitProjectRun A True 0 TMainIDE.DoInitProjectRun B TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TCompiler.Compile] CmdLine="C:\FPC\2.0.0\bin\i3

Re: FCL vs LCL

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Tiziano - Mekar Srl - wrote: On Mon, 05 Dec 2005 09:02:56 +0200, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: I am trying to get a better understanding of the object hierarchy used by Free Pascal and Lazarus. Digging into the FPC/docs folder (not Lazarus but Free Pas

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Vincent Snijders
Florian Klaempfl wrote: As one might have noticed, the process that Lazarus creates just calls fpc. So basically, my guess is that fpc is not capable of detecting as of now that the project need not be compiled and linked just a guess. It can't know if a program needs so be recompiled

[lazarus] TListView Questions

2005-12-07 Thread George Lober
Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window ? Thanks, George

Re: FCL vs LCL

2005-12-07 Thread Tiziano - Mekar Srl -
On Mon, 05 Dec 2005 09:02:56 +0200, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > >I am trying to get a better understanding of the object hierarchy used >by Free Pascal and Lazarus. > Digging into the FPC/docs folder (not Lazarus but Free Pascal) I found a document called classchart.ps. It's