[lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. The problem that I'm having is that when I send a command using WriteLn, the command doesn't return as it should so I'm wonder if

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: On 12/30/06, Lee Jenkins [EMAIL PROTECTED] wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Sorry for the question, but are you on the right library to use AGI

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: Nop, I meant that does your program is located in the right location to use AGI (I still learn Asterisk, so I'm not sure that my question is correct) :) I'm sure you use the best programming language in the list you gave :D Good News! First, I have fixed it (or worked around) and

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I'm try to write a console application that interfaces with Asterisk PBX. The pbx communicates with the console application over stndin and stdout. Hi all, after trying a number of different ways to get this to work, I have found a way. For some reason

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: Good luck, and if you can please share your sources :) Please find attached a simple unit to use for now. I will be finishing the more robust version in a few days (weeks?) as time permits. -- Warm Regards, Lee

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
ik wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to some code later on (6 month, 1 year from now) I want to be as easy to sift through as possible. A little extra

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Micha Nelissen wrote: Lee Jenkins wrote: repeat; begin ReadLn(sRead); bDone := self.ProcessSingleVar(sRead); end; until (bDone); LOL. Just makes it more readable for me. When I have to come back to The above is more readable than the following to you ? (Just asking) repeat ReadLn

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Darius Blaszijk wrote: Hi Lee, I was following this thread with great interest. Is there somewhere a description how communication is defined in pbx? What commands are used and how are they structured? I personally don't know anything about asterisk but I am interested in this way of

Re: [lazarus] Console app problems

2006-12-30 Thread Lee Jenkins
Christian Iversen wrote: I much prefer for X := 0 to 99 do begin FooStuff(); end; Hmm. That's nice too. I used to Capitalize keywords too, but I've never only capitalized the first keyword in a block - that's pretty obscure to me :) I'm a big camel case kind of guy. I

Re: [lazarus] Console app problems

2007-01-02 Thread Lee Jenkins
Christian Iversen wrote: On Sunday 31 December 2006 01:51, Lee Jenkins wrote: Christian Iversen wrote: I much prefer for X := 0 to 99 do begin FooStuff(); end; Hmm. That's nice too. Naturally it's a matter of taste, but I really cannot get used to the indenting of begin-end. It just

Re: [lazarus] Console app problems

2007-01-02 Thread Lee Jenkins
Micha Nelissen wrote: And without braces ? Like: for (int x = 0; x 99; x++) FooStuff(); ? Or FooStuff indented 2 more spaces ? Micha The indentation. Lee -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL

[lazarus] Rebuilding IDE with sqlite3 support

2007-01-02 Thread Lee Jenkins
I keep getting a error: Error: Unable to open file 'clean' When trying to rebuild the ide. Do I have to reinstall from source to rebuild new lpk packages into the IDE? I tried installing from source originally, but had a mess of problems with the IDE not finding any packages, etc so I

Re: [lazarus] Rebuilding IDE with sqlite3 support

2007-01-03 Thread Lee Jenkins
Marco van de Voort wrote: On Wed, Jan 03, 2007 at 12:59:40AM -0500, Lee Jenkins wrote: I keep getting a error: Error: Unable to open file 'clean' Sounds like missing (or not properly entered) make. Check your settings in under environment - environment options Thanks for responding (all

Re: [lazarus] Rebuilding IDE with sqlite3 support

2007-01-03 Thread Lee Jenkins
Vincent Snijders wrote: Lee Jenkins schreef: Make path: /usr/bin/fpcmake This is wrong. It should be something like /usr/bin/make or (doubtful) /usr/bin/gmake. Perfect! Thanks for catching that. The only problem now is that although it looks like it's re-compiling the IDE

Re: [lazarus] Rebuilding IDE with sqlite3 support

2007-01-03 Thread Lee Jenkins
Lee Jenkins wrote: After some initial setbacks, I was able to get the IDE build to happen, the results are still frustrating. Aside from the components that are required by the IDE, nothing will install onto the palette. I would just use the units of in my projects, but I get all kinds

[lazarus] SQLDB TIBConnection

2007-01-03 Thread Lee Jenkins
After not getting the sqlite components to install or be usable from a lazarus project through reference to the units, I on to try the SQLDB ibconnection component now. Has anyone else had any luck with these components? I'm trying to use them and I get an exception about not being able to

Re: [lazarus] Rebuilding IDE with sqlite3 support

2007-01-03 Thread Lee Jenkins
Algis Kabaila wrote: On Thursday 04 January 2007 05:27, Mattias Gaertner wrote: On Wed, 03 Jan 2007 13:14:34 -0500 I'm stuck at this point unfortunately. The simplest way is to not install the lazarus rpm, but to download the tgz and uncompress it to a directory (e.g.

Re: [lazarus] SQLDB TIBConnection

2007-01-03 Thread Lee Jenkins
Lee Jenkins wrote: After not getting the sqlite components to install or be usable from a lazarus project through reference to the units, I on to try the SQLDB ibconnection component now. Has anyone else had any luck with these components? I'm trying to use them and I get an exception

Re: [lazarus] SQLDB TIBConnection

2007-01-03 Thread Lee Jenkins
Kevin hayton wrote: I have just installed UIB components and there are components on the palette. Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB extracted to /usr/share/lazarus/components and installed the .lpk in /source. Man, that is so odd. I did essentially the

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Joost van der Sluis wrote: On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote: Kevin hayton wrote: I have just installed UIB components and there are components on the palette. Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB extracted to /usr/share/lazarus/components

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installing from source and that seemed to go OK except for the fact

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried installing from source and that seemed to go OK

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Hi, You might want to try finding all instances of lazarus executable in your entire system with a file manager started as root, by searching from '/' directory with 'include subfolder' options. Try them one by one and maybe you might find one that has the components that

Re: [lazarus] SQLDB sql connection on wince

2007-01-04 Thread Lee Jenkins
[EMAIL PROTECTED] wrote: Hi. Did someone know if it is possible to use SQLdb to connect to a mysql server through tcp/ip with wince? Actually, vincent is trying to make lnet libs work on wince but even if he have success that's not enough for me, i need to get some data from a database...

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Lee Jenkins wrote: Lee Jenkins wrote: Lee Jenkins wrote: I have tried to almost two days straight, ignoring just about everything else in my business to get some kind of workable database access through Lazarus without any success. This morning, I even tried

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: You might want to try finding all instances of lazarus executable in your entire system with a file manager started as root, by searching from '/' directory with 'include subfolder' options. Try them one by one and maybe you might find one that has the components that you

Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Lee Jenkins wrote: After not getting the sqlite components to install or be usable from a lazarus project through reference to the units, I on to try the SQLDB ibconnection component now. Just so that it will be archived, I wanted to post the resolution to the original issue I had

Re: [lazarus] Re: SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins
Funky Beast wrote: Anyone know which file that is defined in or what a better way of switching this would be? I hate to change the lazarus.pp file permanently. You might find useful information here:

[lazarus] TSdfDataset

2007-01-05 Thread Lee Jenkins
Hi all, Anyone use the TSdfDataset? I'm trying to figure out the schema syntax for the schema property, but can't find anything substantial. The wiki had mention the component itself, but nothing else that I could see. Thanks! -- Warm Regards, Lee

Re: [lazarus] Lazarus compilation speed

2007-01-09 Thread Lee Jenkins
Howard Lee Harkness wrote: I had already seen that, and no, it doesn't answer my real question. It indicates that it is possible to do what I want, but I either the component I was trying isn't the right one, or I don't know how to set up the schema. Or both. Were you trying one of the text

Re: [lazarus] illegal qualifier problem arose to a newbie

2007-01-13 Thread Lee Jenkins
Sönmez Kartal wrote: Hello, I am new to Lazarus. I have a book named Mastering Delphi 7 by Marco Cantu. I got an error when I tried to compile an example. procedure TDateForm.FormCreate(Sender: TObject); begin TheDay := TDate.Create(); TheDay.SetValue(2007,1,13); end; What not

Re: [lazarus] Making calls to External Programs

2007-01-16 Thread Lee Jenkins
[EMAIL PROTECTED] wrote: Hi, I need to clean up the /tmp folder and erase various files and directories that my App has created there. Using Linux, can I call bash from within my App to 'rmdir'? Davec, Check out this link: http://wiki.lazarus.freepascal.org/Executing_External_Programs --

[lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Hi all, I have a question about binary compatibility for linux programs that I write in Lazarus/Freepascal. I've done some googling, but am still unsure as to the answer to my question. Namely, if I do not provide source to a program, but still want to distribute it, can I compile the

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Albert Zeyer wrote: Hi There are severeal parts you should seperate: Firstly, all the hardware-stuff: Thanks Albert. So it seems that if I do not distribute the source of a program, than I will have to compile binaries for at least a couple of different distributions and/or cpu's. --

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Michael Van Canneyt wrote: If you don't use hand-coded assembler, it should be enough to compile your program for i386 and AMD64. That should cover most distributions out there. The compiler by default outputs code which can be run on almost any machine. Thanks very much for responding.

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Michael Van Canneyt wrote: If you have only i386, then you can cross-compile for AMD64, but then you'll need all libraries for an AMD64 system somewhere where the linker can find them, plus a cross-compiler. There is a FAQ on how to create a cross compiler (don't have the link handy now...)

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Albert Zeyer wrote: As Michael said, you can cover a very huge range of systems if you distribute an i386 and AMD64 version. (But you should have in mind, that there are also some people with other architectures...) Most closed-source applications for Linux are only available for these (for

Re: [lazarus] Compiled Linuxy Binary Compatibility/A bit (OT)

2007-01-16 Thread Lee Jenkins
Michael Van Canneyt wrote: If you have only i386, then you can cross-compile for AMD64, but then you'll need all libraries for an AMD64 system somewhere where the linker can find them, plus a cross-compiler. There is a FAQ on how to create a cross compiler (don't have the link handy now...)

Re: [lazarus]

2007-01-31 Thread Lee Jenkins
Marco van de Voort wrote: On Tue, Jan 30, 2007 at 09:18:17AM -0200, Ar? Ricardo Ody wrote: As I have troubles to remember the TAR functios and options I'm trying to develop a graphical front end to run it. Then I need to select files and/or directories from a visual dialog. 2.1.1 has unit

Re: [lazarus] how to add a package via commandline

2007-02-01 Thread Lee Jenkins
Burkhard Carstens wrote: Am Mittwoch, 31. Januar 2007 19:29 schrieb Mattias Gaertner: On Wed, 31 Jan 2007 16:39:42 +0100 Burkhard Carstens [EMAIL PROTECTED] wrote: Am Donnerstag, 18. Januar 2007 19:43 schrieb Mattias Gaertner: On Thu, 18 Jan 2007 18:35:46 +0100 Burkhard Carstens [EMAIL

[lazarus] FP/Delphi compatible Encryption and Zip Libraries?

2007-02-01 Thread Lee Jenkins
Hi all, Can anyone recommend an encryption and zip library/unit that works with both FP and delphi? The zlib stuff should work well between them I would imagine. I need to encrypt and compress plain xml packets between two endpoints. Thanks! -- Warm Regards, Lee

Re: [lazarus] FP/Delphi compatible Encryption and Zip Libraries?

2007-02-02 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 2/1/07, Vincent Snijders [EMAIL PROTECTED] wrote: The zlib stuff should work well between them I would imagine. We use zlib for compression under both Delphi and Lazarus. No problems at all. One option is DCPCrupt: http://wiki.lazarus.freepascal.org/DCPcrypt

[lazarus] XML and XPath?

2007-02-10 Thread Lee Jenkins
Hi all, Does the current xml implementation in laz/fpc support xpath for retrieving nodes? If so, does anyone have any examples? Wiki seems to have mostly code for working with the DOM, but no XPath examples. Thank you. -- Warm Regards, Lee

Re: [lazarus] XML and XPath?

2007-02-11 Thread Lee Jenkins
Lepidosteus wrote: In fpc/fcl/xml there is a xpath unit. Never used it, don't know if it works, guess it should. Ahh, you're correct. I'll poke around the sources a bit and see if I can figure it out. Thanks, -- Warm Regards, Lee

[lazarus] X10/Firecracker Integration

2007-02-11 Thread Lee Jenkins
Hi all, I was curious if anyone had done any X10/Firecracker integration using FP/Laz. I'm looking at the possibility in the not so distant future of doing a project that would involve home automation equipment for FP/Laz/Linux. Thanks. Hope everyone had a great weekend. -- Warm

Re: [lazarus] XML and XPath?

2007-02-12 Thread Lee Jenkins
Kris Leech wrote: Lee Jenkins wrote: Lepidosteus wrote: In fpc/fcl/xml there is a xpath unit. Never used it, don't know if it works, guess it should. Ahh, you're correct. I'll poke around the sources a bit and see if I can figure it out. It broken at the moment, but I just got a fixed

Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins
Balanyi Zsolt wrote: Hi friends! Anybody interested in porting Midware to Lazarus? Midware is a very good middleware for Delphi and Kylix. If you know any alternative solution, let me know! Synapse works. I've written a TCP server using it. On the other hand, it's blocking sockets.

Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins
Cesar Romero wrote: Synapse works. I've written a TCP server using it. On the other hand, it's blocking sockets. Midware is non-blocking, right? I was looking for this kind of server with Synapse, do you know where can I find a example like that? []s I can't remember if examples are

Re: [lazarus] Midware port to Lazarus

2007-02-12 Thread Lee Jenkins
Balanyi Zsolt wrote: Hi! Well, AFAIK Midware is non-blocking... Could you send me a link to Synapse? Best regards, Zsolt Sure. My apologies for not including it originally. http://synapse.ararat.cz/ -- Warm Regards, Lee

Re: [lazarus] XML and XPath?

2007-02-15 Thread Lee Jenkins
Kris Leech wrote: Can you forward a copy of the fixed unit to my email? And to me as well, so I can commit the fix in SVN :-) It may still need a few bug fixes yet, Ive sent some feedback to Sebastian but I know he is really busy at the moment. However the basics work, its just a few

Re: [lazarus] Stoping debugger.

2007-02-21 Thread Lee Jenkins
Marc Weustink wrote: The problem you have is something deeper and needs to be solved. Setting EndDebugging is just a workaround for this problem but doesn't solve it. Thanks to a mail conversation I had last night with Jay Binks we found out that the debugger process reports an error when

Re: [lazarus] Suse linux with mono tools vmware image

2007-02-22 Thread Lee Jenkins
George Birbilis wrote: At mono website they have for download a Suse linux with mono tools vmware image and a link to the free VMWare player. Is there a similar thing for Lazarus? I haven't seen one. I'm new to linux/lazarus so I used a CentOS 4.4 VM Ware image and then just installed fpc

[lazarus] Kudos to Lazarus and FPC

2007-03-15 Thread Lee Jenkins
I just wanted to share with everyone how impressed that I am with Lazarus (and FPC). I have just finished the bulk of a TCP scripting host using Rem Objects scripting utility and Lazarus and I have to say that I am very impressed. Yes, the IDE does have it quirks (like when I have to

[lazarus] Managing Cross Platform Projects

2007-03-21 Thread Lee Jenkins
Hi all, I was wondering what other did to manage cross platform projects? The problem that I have is writing the project in on OS (Windows for the current project) and then compiling over on linux. Everything compiles fine, but it's a pain to port a project over because of unit reference

Re: [lazarus] Managing Cross Platform Projects

2007-03-21 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On 3/21/07, Lee Jenkins [EMAIL PROTECTED] wrote: I was wondering what other did to manage cross platform projects? I mostly use subversion to manage the source code. You will need a server for that, of course. It´s not hard to set up, I´ve already done

[lazarus] touch command [OT]

2007-03-22 Thread Lee Jenkins
Hi all, I'm trying to use the touch command from TProcess and it only changes the date. I've tried many different formats that I have found suggested on various linux sites, including [[CC]YY]MMDDhhmm [.SS] and none of them seem to work. touch seems to work if I run it directly from the

Re: [lazarus] Managing Cross Platform Projects

2007-03-22 Thread Lee Jenkins
Patrick Chevalley wrote: In the past I do myself some fright by manually copy the files to a Samba share ... shifts his feet uncomfortably -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] touch command [OT]

2007-03-22 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I'm trying to use the touch command from TProcess and it only changes the date. I've tried many different formats that I have found suggested on various linux sites, including [[CC]YY]MMDDhhmm [.SS] and none of them seem to work. Never mind. I used

Re: [lazarus] Anybody on this list use Firebird database with Lazarus?

2007-03-29 Thread Lee Jenkins
[EMAIL PROTECTED] wrote: try with http://www.progdigy.com/modules.php?name=UIB, support Lazarus and works fine for Firebird, Interbase and Yaffil. Include several components: I've used UIB components in Laz myself and they are good. Recently, I tried the PDO stuff and while it's not

Re: [lazarus] Anybody on this list use Firebird database with Lazarus?

2007-03-30 Thread Lee Jenkins
Howard Lee Harkness wrote: One of the utilities that was foresighted enough to write was one that dumps all of the tables into CSV format. Any recommendations for the best way to get a CSV file imported into a Firebird database? Not for lazarus. I have have some nice components for that

[lazarus] SynEdit Docs

2007-03-30 Thread Lee Jenkins
Do these exist in any form? I have the source and it does not tell me what some things mean like this below. Assumes a bit more that I know personally synedit, etc. Thanks for any pointers. -- Warm Regards, Lee _ To

[lazarus] Plug-in functionality

2007-04-17 Thread Lee Jenkins
Hi all, Since Lazarus does not support dynamically loaded DLL's, can anyone offer suggestions for creating a plug in functionality for a Windows/Linux application? Thanks a bunch, -- Warm Regards, Lee _ To

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Lee Jenkins
Flávio Etrusco wrote: 2) Delphi Form has a Bitmap property which allows to set a background image on the form, while Lazarus does not. What version is it? I vaguely remember seeing this on a very recent version of Delphi (probably Turbo Delphi Explorer), but in Delphi7 there isn't any such

Re: [lazarus] Plug-in functionality

2007-04-17 Thread Lee Jenkins
Christian Ulrich wrote: Lee Jenkins schrieb: Hi all, Since Lazarus does not support dynamically loaded DLL's, can anyone offer suggestions for creating a plug in functionality for a Windows/Linux application? Why you think it dont support dynamically loaded dlls ? I work for years

Re: [lazarus] Plug-in functionality

2007-04-18 Thread Lee Jenkins
Felipe Monteiro de Carvalho wrote: On 4/18/07, Lee Jenkins [EMAIL PROTECTED] wrote: That may be my mistake then Christian. I thought I read that somewhere, I've never tried it. Nonetheless, that is good news. What doesn´t work on Free Pascal is creating a dll that exports classes, like

Re: [lazarus] detecting the Linux window manager used

2007-04-21 Thread Lee Jenkins
micahel schneider wrote: Am Samstag, 21. April 2007 11:38 schrieb Graeme Geldenhuys: http://pastebin.archlinux.org/2091 http://bbs.archlinux.org/viewtopic.php?id=24208p=1 That unless operator is very cool. Never seen that, but then again, I am no C coder. Neat though. -- Warm Regards,

Re: [lazarus] detecting the Linux window manager used

2007-04-22 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 4/21/07, Lee Jenkins [EMAIL PROTECTED] wrote: That unless operator is very cool. Never seen that, but then again, I am no C coder. Neat though. That is pretty cool, though it is Perl not C. :-) Oops ;) I guess we've established that I am not familiar

[lazarus] Error while linking - Sqlite problem?

2007-04-29 Thread Lee Jenkins
Hi all, I had a project successfully building on both Windows and Linux. I added SQLite support and while everything compiles fine on Windows, now on the linux box, Lazarus simply says: Error: Error while linking No descriptions, just that. Must the SQLite.so be installed on the linux

Re: [lazarus] Error while linking - Sqlite problem?

2007-04-29 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I had a project successfully building on both Windows and Linux. I added SQLite support and while everything compiles fine on Windows, now on the linux box, Lazarus simply says: Error: Error while linking No descriptions, just that. Must the SQLite.so

Re: [lazarus] Error while linking - Sqlite problem?

2007-04-29 Thread Lee Jenkins
Lee Jenkins wrote: Lee Jenkins wrote: Hi all, I had a project successfully building on both Windows and Linux. I added SQLite support and while everything compiles fine on Windows, now on the linux box, Lazarus simply says: Error: Error while linking No descriptions, just that. Must

Re: [lazarus] Error while linking - Sqlite problem?

2007-04-29 Thread Lee Jenkins
Mattias Gaertner wrote: On Sun, 29 Apr 2007 12:27:44 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Lee Jenkins wrote: Lee Jenkins wrote: Hi all, I had a project successfully building on both Windows and Linux. I added SQLite support and while everything compiles fine on Windows, now

Re: [lazarus] New IDE images - sneak preview (3 of 3)

2007-04-30 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 4/29/07, Vincent Snijders [EMAIL PROTECTED] wrote: Why did you use the {} symbols in comment selection. The current implementation adds // and comments the complete line. You may consider this a limitation, that you cannot just comment a word, but if you use // in

Re: [lazarus] Converting Strings to Currency

2007-05-10 Thread Lee Jenkins
John Meyer wrote: I tried a search at lazarus.freepascal.org, and it didn't get anywhere, so if somebody could help me out by telling me how I convert a string (specifically, from a TEdit control) to a currency and versey vicey, I'd appreciate it. Maybe StrToFloat(AString); ?? -- Warm

Re: [lazarus] Printer.Canvas.TextStyle.Alignment=taRightJustify = Argument can't be assigned to

2007-05-17 Thread Lee Jenkins
Burkhard Carstens wrote: Am Mittwoch, 16. Mai 2007 16:35 schrieb fedorax: Hello, I just make a new svn update and i've a little problem: using: Printer.Canvas.TextStyle.Alignment=taRightJustify; return this error: cheques.pas(210,35) Error: Argument can't be assigned to Did something change

[lazarus] Zeos Lib Question

2007-05-17 Thread Lee Jenkins
Hi everyone, I know that zeos has its own message board, but I posted this question there about a week ago with no responses. Basically, I'm wondering if anyone is using zeos for Sqlite access and have had problems with driver not found error on Windows with SQLite 3? The following code

Re: [lazarus] Printer.Canvas.TextStyle.Alignment=taRightJustify = Argument can't be assigned to

2007-05-17 Thread Lee Jenkins
Vincent Snijders wrote: Lee Jenkins schreef: Burkhard Carstens wrote: Am Mittwoch, 16. Mai 2007 16:35 schrieb fedorax: Hello, I just make a new svn update and i've a little problem: using: Printer.Canvas.TextStyle.Alignment=taRightJustify; return this error: cheques.pas(210,35) Error

[lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-20 Thread Lee Jenkins
Hi all, I'm wondering how to emulate the static console output seen with some linux applications such as yum. More specifically, static output without going to another line or appending to existing text already written such as this: Getting File: somefile.txt [=

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-21 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I'm wondering how to emulate the static console output seen with some linux applications such as yum. More specifically, static output without going to another line or appending to existing text already written such as this: Getting File: somefile.txt

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Lee Jenkins
Graeme Geldenhuys wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi New Delphi language features since Delphi 7... http://dn.codegear.com/article/34324 Would anyone mind explaining this to me? I don't get it. Routines can now be marked with the inline

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Lee Jenkins
Micha Nelissen wrote: Lee Jenkins wrote: Routines can now be marked with the inline directive. This tells the compiler that, instead of actually calling the routine, it should emit code that includes the routine at the call site. http://en.wikipedia.org/wiki/Inline_expansion Neat

[lazarus] Remobjects Supports Freepascal?

2007-05-21 Thread Lee Jenkins
This is very welcome news for me. http://www.remobjects.com/product/page.asp?id={E1DB912D-BD45-4B74-9AC4-550E3CD3738F} -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] Remobjects Supports Freepascal?

2007-05-22 Thread Lee Jenkins
Bisma Jayadi wrote: This is very welcome news for me. http://www.remobjects.com/product/page.asp?id={E1DB912D-BD45-4B74-9AC4-550E3CD3738F} I just knew that someday there will be more and more Delphi component providers support FPC/Lazarus due to active development of FPC/Lazarus and lack

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 5/22/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Not yet. But this is easy to implement. The above examples (being/end) are triggered by pressing 'return'. Of course not all templates should be triggered by pressing 'return', so every template need an own set of

Re: [lazarus] Once Code Compile Anywhere .... ????

2007-05-25 Thread Lee Jenkins
Allies Xposs wrote: Thanks all... Im confuse .. How to di This ? (Once Code Compile Anywhere).. Im Use LAzarus under WIndows, but... i want compile my code can RUN IN LINUX... How...?? In addition to what the others said, consider using cvs to manage your cross platform

[lazarus] Threads and Forms

2007-06-05 Thread Lee Jenkins
Hi all, I need to build a GUI application where a spawned thread will open a socket, receive messages and the controls on the form (TStringGride, etc) will need to be updated with values received from the socket. Should I use a critical section for this? I remember that Delphi has a

Re: [lazarus] Threads and Forms

2007-06-05 Thread Lee Jenkins
Luca Olivetti wrote: En/na Lee Jenkins ha escrit: Hi all, I need to build a GUI application where a spawned thread will open a socket, receive messages and the controls on the form (TStringGride, etc) will need to be updated with values received from the socket. Should I use a critical

[lazarus] Thunderbird Integration?

2007-06-07 Thread Lee Jenkins
Has anyone experience with Thunderbird Integration using Laz/Fpc? All I need to do at the moment is validate a contact against thunderbird from a Laz/FPC program. Thanks, -- Warm Regards, Lee _ To unsubscribe: mail

Re: [lazarus] Report Tools for Lazarus

2007-06-09 Thread Lee Jenkins
Jesus Reyes wrote: --- Joao Morais [EMAIL PROTECTED] escribió: Graeme Geldenhuys wrote: On 09/06/07, Joao Morais [EMAIL PROTECTED] wrote: I am using FreeReport with Delphi and building reports in runtime against a business class model. I am using a wrapper to the TUserDefinedDataSet (don't

Re: [lazarus] form embedded in another form

2007-06-13 Thread Lee Jenkins
Christian Ulrich wrote: Graeme Geldenhuys schrieb: Hi, As the subject says... Is this supported under Lazarus? And under Linux and Windows platforms. Official not but i use it for 2 years. with an little trick in win32 and in linux it works. I currently have a TabControl on a form. As I

Re: [lazarus] form embedded in another form

2007-06-13 Thread Lee Jenkins
Christian Ulrich wrote: Can you elaborate on the trick you used for Win32? I may need to do this same thing soon. i have documentated in the bugreport http://www.freepascal.org/mantis/view.php?id=1052 thers also an patch for the lcl that inserts an internal workaround but nobody wants

[lazarus] TListView - Items not showing up

2007-06-14 Thread Lee Jenkins
Hi all, Lazarus 0.9.20 Does the TListView work differently than in Delphi? I'm adding items to a TListView and while I can see that there are items, the text appears to be invisible or not being painted. I've tried setting the font.color, etc to different colors as well. for iCount := 0

Re: [lazarus] TListView - Items not showing up

2007-06-14 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, Lazarus 0.9.20 Does the TListView work differently than in Delphi? I'm adding items to a TListView and while I can see that there are items, the text appears to be invisible or not being painted. I've tried setting the font.color, etc to different colors

Re: [lazarus] CodeTools and a GUI Class Builder

2007-06-15 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: A good starting point would probably be a DBTable-To-Class importer. tiOPF already has something link this - well kinda. The tool is called tiSQLEditor. You write and execute you SQL statement and see the result screen.

Re: [lazarus] Borland Kylix Trolltech

2007-06-16 Thread Lee Jenkins
Graeme Geldenhuys wrote: Hi, I take it this is an old announcement? Thought the date of the announcement (as per the webpage) is June 2007. http://trolltech.com/company/newsroom/announcements/0054?searchterm=borland+linux Regards, - Graeme - snip We are fully committed to Linux.

Re: [lazarus] CodeTools and a GUI Class Builder

2007-06-16 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 16/06/07, Lee Jenkins [EMAIL PROTECTED] wrote: What's the learning curve like with tiPPF? I checked it out a while back but was short on time for studying it. No doubt there is a learning curve. The tiOPF framework is big, but it's no different compared

Re: [lazarus] Working with XML: crosscompatibility

2007-06-28 Thread Lee Jenkins
Luiz Americo Pereira Camara wrote: Alvise Nicoletti wrote: Hi... I have to parse xml both with Lazarus on linux (server) and Delphi on Windows (client). Actually, with Lazarus, I'm using the DOM, ReadXML, WriteXML units. Is there something that I can use in Delphi with the same code? Or,

[lazarus] Linux/Printing Question

2007-07-23 Thread Lee Jenkins
Hi all, This is quite a bit OT since the only thing related to Lazarus is that I will use to write the software. One of my company's main products does a lot of prep notifications to various printers on the network. For a single order (sale), prep instructions can be sent to up to 6

Re: [lazarus] report writer 4 Lazarus?

2007-08-18 Thread Lee Jenkins
Heine Ferreira wrote: Hi Does Lazarus have a report writer? If not, is there any free or low cost report writer out there that would work with Lazarus? I have tried to post this in the forum, but there was no response. I only know of three report writers that are free. LogiXML - for web based

Re: [lazarus] Set output file on Windows?

2007-11-05 Thread Lee Jenkins
wile64 wrote: 2007/11/5, Lee Jenkins [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi all, Where in lazarus can I set the path to output the generated executable file to? I thought it might be Project Project Objects Target File Name, but that It's good, example

Re: [lazarus] Set output file on Windows?

2007-11-05 Thread Lee Jenkins
Lee Jenkins wrote: wile64 wrote: 2007/11/5, Lee Jenkins [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi all, Where in lazarus can I set the path to output the generated executable file to? I thought it might be Project Project Objects Target File Name

  1   2   >