[Lazarus] Fireworks

2015-10-30 Thread Terry A. Haimann
Is there a component that anyone has ever written that would display fireworks or something else celabratory that could be included in a Lazarus App? Best if it is cross platform. Thx in advance -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

[Lazarus] TSQLQuery

2015-07-30 Thread Terry A. Haimann
After executing a query, is there a way to test if there were any errors? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus TChart Component

2015-05-06 Thread Terry A. Haimann
Lets come at it from a slightly different angle. After issuing a MyChartLineSeries1.Clear, What variables on the MyChart.LeftAxis need to be set programatically to display the numeric reference numbers on the left hand side. Such is as in Pict1. On Sun, 2015-05-03 at 07:36 -0500, Terry A

Re: [Lazarus] Zeosdbo

2015-04-13 Thread Terry A. Haimann
Sorry sent it the wrong group. On Mon, 2015-04-13 at 11:47 -0500, Terry A. Haimann wrote: > I'm sure its possible to connect to Mysql with Zeosdbo from a command > line FreePascal Program, but I am not sure how. I tried using the same > includes that are for the Lazarus components,

[Lazarus] Zeosdbo

2015-04-13 Thread Terry A. Haimann
I'm sure its possible to connect to Mysql with Zeosdbo from a command line FreePascal Program, but I am not sure how. I tried using the same includes that are for the Lazarus components, but it didn't find those files. Any help would be appreciated. -- ___

[Lazarus] GIS

2015-02-16 Thread Terry A. Haimann
I have seen where there might be some GIS Tools added to Lazarus. What is the current sttatus of this? I am currently running 1.2.4. Thx,Terry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/ma

[Lazarus] Lazarus and Application.ProcessMessages

2014-12-03 Thread Terry A. Haimann
I have a program that starts some background processes and then needs to go to sleep for 15 seconds or so and then come back and check on their statuses. So I used a loop like the following: EndTime := Now + EncodeTime(0, 0, 15, 0); While Now < EndTime do Application.ProcessMessages; The

Re: [Lazarus] I am having trouble getting Lazarus setup

2014-09-07 Thread Terry A. Haimann
+0200, Mattias Gaertner wrote: > On Sat, 06 Sep 2014 18:29:27 -0500 > "Terry A. Haimann" wrote: > > > I just upgraded my Linux Box from LinuxMint 14-64 to 17-64. > > > > I installed Lazzarus 1.2.4 from your website. > > > > Zeosdbo didn't insta

[Lazarus] I am having trouble getting Lazarus setup

2014-09-06 Thread Terry A. Haimann
I just upgraded my Linux Box from LinuxMint 14-64 to 17-64. I installed Lazzarus 1.2.4 from your website. Zeosdbo didn't install, so I tried to recompile with Zeos added and I got a: PPU Source: interfaces.pas not found lazarus.pp(52,3) Fatal: Can not find Interfaces used by Lazarus, ppu=../lcl/

[Lazarus] Creating a binary install file.

2013-09-16 Thread Terry A. Haimann
I have a Lazarus App that I would like to create a dpkg and maybe an rpm. Never done this and don't know how. The App currently uses MySQL and connects to it with ZeosDbo. Any help would be greatly appreciated. Thx in Advance, Terry -- ___ Lazarus

Re: [Lazarus] Printing

2013-09-07 Thread Terry A. Haimann
Never mind, I figured it out. On Sat, 2013-09-07 at 15:58 -0500, Terry A. Haimann wrote: > What is the current documentation on printing? > > I have an app, I am trying to update from an older version of Lazarus > and it appears to be dying when I hit Printer.BeginDoc; > >

[Lazarus] Printing

2013-09-07 Thread Terry A. Haimann
What is the current documentation on printing? I have an app, I am trying to update from an older version of Lazarus and it appears to be dying when I hit Printer.BeginDoc; It is creating a Sigsegv on line 504 of Printer.pas. I also don't see a built in Report Generator, which I would also consi

Re: [Lazarus] Subroutine ?

2013-07-31 Thread Terry A. Haimann
I am talking mostly about TDBEdit and a few TDBComboBox objects. On Wed, 2013-07-31 at 11:00 +0200, Mattias Gaertner wrote: > On Wed, 31 Jul 2013 10:04:49 +0200 > Frederic Da Vitoria wrote: > > > 2013/7/31 Hans-Peter Diettrich > > > > > Terry A. Haimann schrieb:

Re: [Lazarus] Subroutine ?

2013-07-31 Thread Terry A. Haimann
013 22:53:40 -0500 > "Terry A. Haimann" wrote: > > > I am sure this is a dumb ?, but I want a subroutine that will change all > > of the components of a form to Enabled := False. > > > > How do I do this? > > for i:=0 t

[Lazarus] Subroutine ?

2013-07-30 Thread Terry A. Haimann
I am sure this is a dumb ?, but I want a subroutine that will change all of the components of a form to Enabled := False. How do I do this? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/

[Lazarus] Lazarus Compile Error

2013-06-20 Thread Terry A. Haimann
I installed Lazarus 1.0.10 today and tried writing a small app. It has a mysql 5.5 component in it, a button, Tedit, and a StringGrid. I am getting the following compile errors: /usr/lib64/lazarus/ideintf/propedits.pp(1783,5) Error: Expected another 3 array elements /usr/lib64/lazarus/ideintf/pr

[Lazarus] ZeosDBO

2013-02-19 Thread Terry A. Haimann
What steps do I need to do to get ZeosDBO installed on Lazarus, I have version 1.02 and haven't been able to get it to install. Has anyone considered having ZeosDBO in the Lazarus install files so that it isn't an issue? Terry -- ___ Lazarus mailing l

Re: [Lazarus] Stringgrid ?

2012-11-17 Thread Terry A. Haimann
You know that's not a lot of help. I don't know what the program name is and I don't know where the source is. If you know how to do this, why can't you provide a snippet of code with maybe a few comments? If you want Lazarus to be a popular RAD then don't obfuscate, make thing ease for the

Re: [Lazarus] Stringgrid ?

2012-11-17 Thread Terry A. Haimann
? Is there any performance issue? 2012/11/17 Juha Manninen <mailto:juha.mannine...@gmail.com>> On Sat, Nov 17, 2012 at 2:31 AM, Terry A. Haimann mailto:te...@haimannonline.com>> wrote: > How do you change the Font Color for a TStringGrid Cell? Use the OnP

[Lazarus] Stringgrid ?

2012-11-16 Thread Terry A. Haimann
How do you change the Font Color for a TStringGrid Cell? I tried the following, but it doesn't work: SGrid.Canvas.Font.Color := clGreen; SGrid.Cells[i,j] := 'My String'; -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Passing Sender to a sub procedure

2012-09-22 Thread Terry A. Haimann
Is there away I can pass a variable from sender (A String Grid) to a sub Procedure. When I try I get a: "main.pas(264,86) Error: Only class class methods, class properties and class variables can be accessed in class methods" This is from the procedure called by an event and I need to do th

Re: [Lazarus] Run 3 extrenal program, pipeline

2012-02-02 Thread Terry A. Haimann
All you should have to do is have each program read from stdin & write to stdout. I've done it before. There is no reason to write it in Lazarus at all, just use FreePascal. If you are trying to execute this all from a tprocess, be aware that this in't bash. I would put it in a script and t

Re: [Lazarus] Database Library Issues

2011-09-15 Thread Terry A. Haimann
On 09/14/2011 03:43 PM, Mark Morgan Lloyd wrote: leledumbo wrote: Aparently, Lazarus is looking for libpq.so.4, while my implementations have libpq.so.5 It shouldn't be hardcoded AFAIK: libpq.so only, which may be a symlink to the correct version. Try checking the source code whether the .4

[Lazarus] Database Library Issues

2011-09-14 Thread Terry A. Haimann
I have a Lazarus App which I use heavily that uses a MySQL Database. I have an older 32 bit laptop (Running Fedora 12) that it still works on using Zeosdbo. I would consider moving this over to Postgresql, but I am running up against the same problem there too. Aparently, Lazarus is looking

[Lazarus] libmysql

2011-09-11 Thread Terry A. Haimann
Is it possible to load libmysql51conn on lazarus.0.9.30-64? Thanks in advance TH -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-23 Thread Terry A. Haimann
Bart wrote: >On 5/23/11, Mattias Gaertner wrote: > >>> I'm not sure I understand you on this. >>> What should I delete? >> >> The entries about packages like LCL and IDEIntf. >> Only IDE and Examples are left. >> You can get the defaults by: >> Close IDE, remove ~/.lazarus/miscellaneousoptions

Re: [Lazarus] does anybody knows whats up with zeos?

2011-03-15 Thread Terry A. Haimann
I believe you have to alter one of the libraries to get it to work with 64 bit computers. Eduard Filipas wrote: >Leonardo ...thank you very much ...it is somewhat comforting :) I guess >ill just have to wait to get their reply ..again thank you. > >regards >edo > >S, Leonardo M. Ramé piše: >>

Re: [Lazarus] installing zeos

2011-02-03 Thread Terry A. Haimann
On 02/03/2011 11:24 AM, Mattias Gaertner wrote: "Terry A. Haimann" hat am 3. Februar 2011 um 15:56 geschrieben: I have tried to install zeos on a fc14-64 system. I tried putting it in /usr/share/zeos I issued a chmod -R 755 /usr/share/zeos I have tried adding one of the follo

[Lazarus] installing zeos

2011-02-03 Thread Terry A. Haimann
I have tried to install zeos on a fc14-64 system. I tried putting it in /usr/share/zeos I issued a chmod -R 755 /usr/share/zeos I have tried adding one of the following to my user path (not all at the same time) /usr/share/zeos /usr/share/zeos/packages /usr/share/zeos/packages/lazarus Lazar

[Lazarus] Font ?

2010-10-09 Thread Terry A. Haimann
I have a project with several Place Names from Mexico are Quebec. What Fonts are available that handle English, French and Spanish Character sets at the same time? Thanks in advance, TH -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.o

[Lazarus] Problem connecting to a mysql server

2010-07-30 Thread Terry A. Haimann
I have Lazarus 0.9.29 installed on a FC12 Laptop, with Zeos 6.6.6 installed. What do I need to do to connect to a MySQL 5.1 Server? I have gone in and added "/usr/lib/mysql to my path I have dropped a Zconnection on my form and set values for Database, user, & password. I then set protocal

[Lazarus] Postgresql

2010-04-14 Thread Terry A. Haimann
Is there any known problem connecting to a postgresql 8.4 server? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] MySQL?

2010-03-28 Thread Terry A. Haimann
Just wanting to know when Lazarus is going to be supporting MySQL 5.1 in a general release? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Free Pascal ? (I Hope its not too OT)

2010-03-14 Thread Terry A. Haimann
rsion - it initializes exception handling, so maybe there are some exceptions internally happening which are not properly handled. Just a guess... On Sun, Mar 14, 2010 at 04:04, Terry A. Haimann wrote: I tried to write a little utility to submit a command to the At Facility. The code to do this is

[Lazarus] Free Pascal ? (I Hope its not too OT)

2010-03-13 Thread Terry A. Haimann
I tried to write a little utility to submit a command to the At Facility. The code to do this is as follows: StdStrLst := TStringlist.Create; ErrorStrLst := TStringlist.Create; MyProcess := TProcess.Create(nil); MyProcess.CommandLine := 'at now'; MyProcess.Options := MyProcess.Options + [

Re: [Lazarus] Lazarus & MySQL 5.1

2010-03-02 Thread Terry A. Haimann
How do I do this in Lazarus? Marco van de Voort wrote: On Tue, Mar 02, 2010 at 02:59:12PM +, Henry Vermaak wrote: seems to have fallen from the air, connecting to nothing ? I presume it comes from here (in mysql.inc): const mysqllib = 'libmysqlclient.'+sharedsuffix; {$IF

Re: [Lazarus] Lazarus & MySQL 5.1

2010-03-02 Thread Terry A. Haimann
I have tried this and it doesn't work. waldo kitty wrote: On 3/1/2010 23:18, Terry A. Haimann wrote: I upgraded my laptop to Fedora Core 12, which has MySQL 5.1.42 installed. I have installed the latest Lazarus RPM, which is 0.9.28.2 and FPC 2.2.4. My Lazarus App won't connect to the

[Lazarus] Lazarus & MySQL 5.1

2010-03-01 Thread Terry A. Haimann
I upgraded my laptop to Fedora Core 12, which has MySQL 5.1.42 installed. I have installed the latest Lazarus RPM, which is 0.9.28.2 and FPC 2.2.4. My Lazarus App won't connect to the server. I have the libmysqlclient.so.16.0.0 installed. I am not sure where to get the libmysqlclient.so.15.

Re: [Lazarus] Network connections

2009-12-30 Thread Terry A. Haimann
If it is a script, it may not run from the Lazarus start procedure. Secondly, you may need to explicitly define the path. Your command prompt has a number of predifined paths,which your lazarus app doesn't. SteveG wrote: >Evening All (from where I'm sitting anyway) > >I have the following cod

[Lazarus] 0.9.28 Issues

2009-11-29 Thread Terry A. Haimann
First of all let me congratulate you all on the look and feel of Lazarus 0.9.28. The apps that are produced look much better. The Buttons and Check Boxes look wonderful compared to 0.9.26. 1. On the Addpie, the following used to display a label, it no longer does and I don't see an example:

Re: [Lazarus] Paper Size

2009-11-27 Thread Terry A. Haimann
How do I include this procedure in my progrram? Jesus Reyes wrote: --- El vie 27-nov-09, Terry A. Haimann escribió: De:: Terry A. Haimann Asunto: Re: [Lazarus] Paper Size A: "Lazarus mailing list" Fecha: viernes 27 de noviembre de 2009, 22:55 Maybe I am not being clear. I hav

Re: [Lazarus] Paper Size

2009-11-27 Thread Terry A. Haimann
he page down. I am running Fedora 10 and Lazarus 0.9.26.2 I have noticed that there is a TPageSetupDialog, but I don't know if I used it correctly. I just put in the height and width of my paper in mm. Again I am using 8.5 x 11 inch paper "US Letter". Terry A. Haimann wrote:

[Lazarus] Paper Size

2009-11-26 Thread Terry A. Haimann
On code that worked in Delphi is printing down about a quarter of the page in Lazarus. I am using Printer. procedure. I am using the basic American Letter size (8.5 x 11) I tried setting it to "US Letter" but that has failed and i don't even know what my options are. Lazarus 0.9.26.2 My

[Lazarus] Process Detection

2009-11-21 Thread Terry A. Haimann
Is there a function or procedure in Free Pascal/Lazarus thhat can detect or list running applications. I prefer it to be as os nutral as possible. I just want to see if an application is running and if it isn't to start it automatically. Thx, Terry -- _

Re: [Lazarus] Astronomy Software

2009-11-15 Thread Terry A. Haimann
John wrote: Terry A. Haimann wrote: For what it is worth I have created a project on SourceForge (http://sourceforge.net/projects/messier/) with my Astronomy Program. It is a basic Observing Planning and Logging Program. It is of course written in Lazarus (I converted it from Delphi) and got

Re: [Lazarus] Astronomy Software

2009-11-15 Thread Terry A. Haimann
Michael Van Canneyt wrote: On Sun, 15 Nov 2009, Terry A. Haimann wrote: For what it is worth I have created a project on SourceForge (http://sourceforge.net/projects/messier/) with my Astronomy Program. It is a basic Observing Planning and Logging Program. It is of course written in

[Lazarus] Astronomy Software

2009-11-15 Thread Terry A. Haimann
For what it is worth I have created a project on SourceForge (http://sourceforge.net/projects/messier/) with my Astronomy Program. It is a basic Observing Planning and Logging Program. It is of course written in Lazarus (I converted it from Delphi) and got most of the Algorithyms from "Practi

[Lazarus] Astronomy App

2009-09-13 Thread Terry A. Haimann
A few years ago, I wrote an app  in Delphi to record my progress on observing the Messier List ( an astronomical observing challenge). The program has several very useful reports: * Rise and Set Report, which lists objects (all, seen, or unseen) and then sorts the output on how many hours the

[Lazarus] Palm Compiler

2009-06-16 Thread Terry A. Haimann
Is there a Lazarus compiler for the Palm Pilot? If so where do I get it? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] 64 bit compiler

2009-06-13 Thread Terry A. Haimann
This is in the Environment Options. On Sat, 2009-06-13 at 23:20 -0500, Terry A. Haimann wrote: > I believe I have found the problem. FPC Source directory had > /usr/share/fpcsrc/ > > When it should have had > > /usr/share/fpcsrc/$(FPCVer)/ > > This was in the yum d/l a

Re: [Lazarus] 64 bit compiler

2009-06-13 Thread Terry A. Haimann
Weustink wrote: Terry A. Haimann wrote: I really don't know how to read the config file. So, I did a locate on stdctrls and found this file: /usr/lib64/lazarus/lcl/units/x86_64-linux/stdctrls.o I guess the .ppu is there too. So the compiled unit is there, but somehow the compiler thinks it

Re: [Lazarus] 64 bit compiler

2009-06-07 Thread Terry A. Haimann
l3:TLabel ReferenceUnit=False Search UnitComponent=BellCurveForm:TBellCurveForm AComponent=Label2:TLabel ReferenceUnit=False Search UnitComponent=BellCurveForm:TBellCurveForm AComponent=Label1:TLabel ReferenceUnit=False TProject.UpdateUnitComponentDependencies checking designers ... TProject.Upda

Re: [Lazarus] 64 bit compiler

2009-06-07 Thread Terry A. Haimann
s tracable with valgrind # -gwgenerate dwarf debugging info # # Enable debuginfo and use the line info unit by default #-gl # always pass an option to the linker #-k-s # Always strip debuginfo from the executable -Xs Graeme Geldenhuys wrote: 2009/6/5 Terry A. Haimann : I tried dow

[Lazarus] 64 bit compiler

2009-06-04 Thread Terry A. Haimann
I tried downloading the 64 bit compiler and compiling a test program, but when I try adding a event I get a StdCtrls Unit not found. I am running this on FC10 64 bit. ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.

Re: [Lazarus] help in maths

2009-05-29 Thread Terry A. Haimann
Terry A. Haimann wrote: Héctor Fiandor Rosario wrote: Dear Mr. Coppola: really I solve using this: var valor1,valor2,valor3:integer; valor3:=round(power(valor1,valor2)); and declaring the unit "math" in uses. Thanks very much Ing. Héctor F. Fiandor hfian...@info

Re: [Lazarus] help in maths

2009-05-29 Thread Terry A. Haimann
Héctor Fiandor Rosario wrote: Dear Mr. Coppola: really I solve using this: var valor1,valor2,valor3:integer; valor3:=round(power(valor1,valor2)); and declaring the unit "math" in uses. Thanks very much Ing. Héctor F. Fiandor hfian...@infomed.sld.cu ---