[Lazarus] AV exception error on lower1 := left (integer variable assignment)... Can anyone explain this???

2011-04-23 Thread Peter E Williams
Hi All, I am having a problem with a strange run-time AV error. See the link to the Lazarus project. Download link: http://hotfile.com/dl/115480488/6b7a8ed/dtm_maker_001.zip.html The problem is in the QSort procedure: Procedure QSort( Var island_single_array : island_single_type; left, right

[Lazarus] Fwd: AV exception error on lower1 := left (integer variable assignment)... Can anyone explain this???

2011-04-23 Thread Peter E Williams
Hi All, I am having a problem with a strange run-time AV error. See the link to the Lazarus project. Download link: http://hotfile.com/dl/115480488/6b7a8ed/dtm_maker_001.zip.html The problem is in the QSort procedure: Procedure QSort( Var island_single_array : island_single_type; left, right

Re: [Lazarus] AV exception error on lower1 := left (integer variable assignment)... Can anyone explain this???

2011-04-23 Thread Peter E Williams
Hi Mattias, On 24 April 2011 09:31, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 24 Apr 2011 08:58:07 +1000 Peter E Williams pewslinuxva...@gmail.com wrote: Hi All, I am having a problem with a strange run-time AV error. See the link to the Lazarus project. Download

Re: [Lazarus] Possible bug in TEdit, can somebody reproduce this?

2011-04-23 Thread Peter E Williams
Hi, On 24 April 2011 09:33, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 23 Apr 2011 20:20:22 -0300 Luiz Americo Pereira Camara luiz...@oi.com.br wrote: On 23/4/2011 20:01, Bernd wrote: Linux GTK2 Before I file a bug, please somebody try and confirm: Steps to

[Lazarus] Possible bug in TEdit, can somebody reproduce this?

2011-04-23 Thread Peter E Williams
Hi, On 24 April 2011 09:33, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 23 Apr 2011 20:20:22 -0300 Luiz Americo Pereira Camara luiz...@oi.com.br wrote: On 23/4/2011 20:01, Bernd wrote: Linux GTK2 Before I file a bug, please somebody try and confirm: Steps to

Re: [Lazarus] TortoiseSVN help.... error in Installing Lazarus wiki --- there is no download the source option

2011-02-10 Thread Peter E Williams
February 2011 09:58, Bo Berglund bo.bergl...@gmail.com wrote: On Wed, 9 Feb 2011 05:15:18 +1100, Peter E Williams pewslinuxva...@gmail.com wrote: TortoiseSVN_options.png // it shows all of the options and there is not a download nor download the source option nothing like it what the F

[Lazarus] TortoiseSVN help.... error in Installing Lazarus wiki --- there is no download the source option

2011-02-08 Thread Peter E Williams
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 [...] After installing TortoiseSVN, download the sources from SVN using a URL for each directory, see: Dir: c:\freepascal\binutils\i386-win32\ URL:

Re: [Lazarus] Commands with Linux and subversion to install Lazarus 0.9.30

2011-01-11 Thread Peter E Williams
// typo corrected below $ mkdir lazarus_0_9_30 // typo corrected below $ svn co http://svn.freepascal.org/svn/lazarus/branches/fixes_0_9_30/ lazarus_0_9_30 // change directory $ cd lazarus_0_9_30 // the next step is required because there exists a directory called lazarus $ mv lazarus

Re: [Lazarus] Commands with Linux and subversion to install Lazarus 0.9.30

2011-01-11 Thread Peter E Williams
Correction. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 12 January 2011 15:54, Peter E Williams pewslinuxva...@gmail.com wrote: Unnecessary steps

Re: [Lazarus] Where is fp ide located on my Mint 10 Linux system (ubuntu based)?

2010-12-29 Thread Peter E Williams
(03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 29 December 2010 19:37, Vincent Snijders vincent.snijd...@gmail.comwrote: 2010/12/29 Peter E Williams pewslinuxva...@gmail.com: I will study your reply. At the moment I am have problems

Re: [Lazarus] SVN user

2010-12-29 Thread Peter E Williams
Hi, see comments below. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com 2010/12/29 Juha Manninen juha.mannine...@gmail.com Peter E Williams kirjoitti

Re: [Lazarus] SVN user

2010-12-29 Thread Peter E Williams
Hi All, see below Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com 2010/12/29 Juha Manninen juha.mannine...@gmail.com Peter E Williams kirjoitti tiistai 28

Re: [Lazarus] SVN user

2010-12-29 Thread Peter E Williams
: 2010/12/29 Peter E Williams pewslinuxva...@gmail.com: /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? I get the above warning a number of times. I think that the make file needs amending to add the -T option. http://www.freepascal.org/faq.var#unix-ld219

Re: [Lazarus] SVN user

2010-12-29 Thread Peter E Williams
Hi All, see below. Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 29 December 2010 20:59, Peter E Williams pewslinuxva...@gmail.comwrote: Hi, see

Re: [Lazarus] This is how you can fix that annoying bug with Build All asking to reset the debugger then aborting.

2010-12-28 Thread Peter E Williams
Juha, see comments below Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 26 December 2010 23:28, Juha Manninen juha.mannine...@gmail.com wrote: Peter

Re: [Lazarus] (no subject)

2010-12-28 Thread Peter E Williams
Hi Juha, Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 26 December 2010 23:12, Juha Manninen juha.mannine...@gmail.com wrote: Hi Mattias, see below

Re: [Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-28 Thread Peter E Williams
joshua__...@hotmail.com wrote: Hi Peter, thanks, what I mean is if it works for NT services. Peter E Williams wrote: Hi Joshua, Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http

[Lazarus] Directory separator character / or \ for file path differences between Linux, Mac and Windows, etc

2010-12-28 Thread Peter E Williams
Hi This is really 4 questions: One: Since Windows users the '\' (backslash) character and Linux uses the '/' (foreslash) character in file paths, have I got those the right way around? Two: What do Macs use for directory path separator character? Three: Is the a cross-platform function (or

Re: [Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-25 Thread Peter E Williams
, thanks, this downloader site keeps returning me to the wait page - http://hotfile.com/dl/91609295/6358c68/memproof_installer.zip.html Rgds, Joshua Peter E Williams wrote: Hi all, Here is a link to Memproof_installer.zip (2.2MB). http://hotfile.com/dl/91609295/6358c68

Re: [Lazarus] Installation of Lazarus 0.9.29 works fine and no problems (very long message!)

2010-12-25 Thread Peter E Williams
I have WINE 1.3 installed which is the unstable new version. The stable version is 1.3. [ should read stable version is Wine 1.2 ] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Fwd: Installation of Lazarus 0.9.29 works fine and no problems (very long message!)

2010-12-25 Thread Peter E Williams
: Peter E Williams pewslinuxva...@gmail.com Date: 24 December 2010 18:56 Subject: Installation of Lazarus 0.9.29 works fine and no problems (very long message!) To: Lazarus email list laza...@lazarus.freepascal.org Merry Christmas 2010 !!! Let's hope that this nails down this bug. Summary

Re: [Lazarus] fpc-2.4.2-1.src.rpm (25 MB) contains the sources. -- the url link is dead.

2010-12-25 Thread Peter E Williams
+1100, Peter E Williams wrote: - *Source Packages* - fpc-2.4.2-1.src.rpm ftp://ftp.freepascal.org/pub/fpc/dist/2.4.2/i386-linux/rpm/fpc-2.4.2-1.src.rpm (25 MB) contains the sources. fpc-2.4.2-1-src.rpm is a dead link ! (opens a blank page). ftp://ftp.freepascal.org/pub/fpc/dist

Re: [Lazarus] Convert standard Lazarus application (Tforms and TButtons etc) into a web application

2010-12-25 Thread Peter E Williams
...@gmail.com Hi, Please see my answers inline. 2010/12/24 Peter E Williams pewslinuxva...@gmail.com Hi all, Please excuse me if this is an obvious question. I have an application called Adv_Player which I programmed in Delphi 7 Enterprise project and I have since converted it to a Lazarus

Re: [Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-25 Thread Peter E Williams
don't use because I don't upload large files normally. Rgds, Joshua Pew :))) Peter E Williams wrote: Hi all, Here is a link to Memproof_installer.zip (2.2MB). http://hotfile.com/dl/91609295/6358c68/memproof_installer.zip.html This is what I originally used many years ago

Re: [Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-25 Thread Peter E Williams
--- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com On 26 December 2010 04:28, Joshua Lim joshua__...@hotmail.com wrote: Hi Peter, thanks, what I mean is if it works for NT services. Peter E Williams

[Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-24 Thread Peter E Williams
Hi all, Here is a link to Memproof_installer.zip (2.2MB). http://hotfile.com/dl/91609295/6358c68/memproof_installer.zip.html This is what I originally used many years ago with Delphi 5 Enterprise to write my shareware (which never really sold) and later became mostly public domain freeware now

Re: [Lazarus] Christmas present for Windows lazarus developers : Memproof instaler 2.2MB

2010-12-24 Thread Peter E Williams
Hi Marco and all, see comments below Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675 My free websites are: http://pewink.info () http://pewslinuxvault.googlepages.com My free blog is: patientxmarksthespot.wordpress.com On 24 December 2010

[Lazarus] Convert standard Lazarus application (Tforms and TButtons etc) into a web application

2010-12-23 Thread Peter E Williams
Hi all, Please excuse me if this is an obvious question. I have an application called Adv_Player which I programmed in Delphi 7 Enterprise project and I have since converted it to a Lazarus 0.9.28.2 project. (It is a very stable and fully test application available for Windows XP from my

[Lazarus] fpc-2.4.2-1.src.rpm (25 MB) contains the sources. -- the url link is dead.

2010-12-23 Thread Peter E Williams
Hi All, I am still installing FPC then lazarus on my new Mandriva 2010 Spring system. I am not currently on the Free Pascal Compiler list. Could someone please forward it on my behalf. Thanks in advance. On this page: http://www.freepascal.org/down/i386/linux-ftp.freepascal.org.var#linuxbig

Re: [Lazarus] Generating a RPM installation file for my lazarus binary file (Linux)

2010-12-23 Thread Peter E Williams
December 2010 20:56, Peter E Williams pewslinuxva...@gmail.comwrote: Hi All, How can I use a binary linux application created by lazarus and generate an RPM installation package for the file? I am using Mandriva 2010 Spring Edition (w. GNOME) and Lazarus 0.9.28.2 PEW Fond Regards, Peter Eric

Re: [Lazarus] How can I (or can this be done) cros s compiling a Lazarus project to other target OS´ s?

2010-12-23 Thread Peter E Williams
December 2010 20:53, Peter E Williams pewslinuxva...@gmail.comwrote: Hi All, Let's assume, for the sake of argument that I am using Lazarus 0.9.28.2 with Linux Mandriva 2010. Now say also that I have a fully working Mandriva (2010 Spring edition OS with GNOME) application project in Lazarus

Re: [Lazarus] Source Forge copy of lazarus is 0.9.28.0 not 0.9.28.2

2010-12-23 Thread Peter E Williams
December 2010 02:58, Peter E Williams pewslinuxva...@gmail.comwrote: Hi Graeme and All, see bottom post. On 19 December 2010 01:02, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 18 December 2010 14:18, Sven Barth pascaldra...@googlemail.com wrote: With the new release of FPC out

[Lazarus] Installation of Lazarus 0.9.29 works fine and no problems (very long message!)

2010-12-23 Thread Peter E Williams
Merry Christmas 2010 !!! Let's hope that this nails down this bug. Summary: Installation of Lazarus 0.9.29 works fine and no problems. Wine / Programs / Lazarus menu item is broken Open browse to drive c and then open the lazarus folder and right click the StartLazarus.exe file. Build all

[Lazarus] Fwd: Installation of Lazarus 0.9.29 works fine and no problems (very long message!)

2010-12-23 Thread Peter E Williams
-- Forwarded message -- From: Peter E Williams pewslinuxva...@gmail.com Date: 24 December 2010 18:56 Subject: Installation of Lazarus 0.9.29 works fine and no problems (very long message!) To: Lazarus email list laza...@lazarus.freepascal.org Merry Christmas 2010 !!! Let's hope

[Lazarus] How can I (or can this be done) cros s compiling a Lazarus project to other target OS´ s?

2010-12-19 Thread Peter E Williams
Hi All, Let's assume, for the sake of argument that I am using Lazarus 0.9.28.2 with Linux Mandriva 2010. Now say also that I have a fully working Mandriva (2010 Spring edition OS with GNOME) application project in Lazarus. What is the step-by-step procedure for me to cross-compile to MS

[Lazarus] Generating a RPM installation file for my lazarus binary file (Linux)

2010-12-19 Thread Peter E Williams
Hi All, How can I use a binary linux application created by lazarus and generate an RPM installation package for the file? I am using Mandriva 2010 Spring Edition (w. GNOME) and Lazarus 0.9.28.2 PEW Fond Regards, Peter Eric WILLIAMS --- Hobart, Tasmania, Australia --- Phone: +61 (03) 6236-9675

Re: [Lazarus] Source Forge copy of lazarus is 0.9.28.0 not 0.9.28.2

2010-12-18 Thread Peter E Williams
Hi Graeme and All, see bottom post. On 19 December 2010 01:02, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 18 December 2010 14:18, Sven Barth pascaldra...@googlemail.com wrote: With the new release of FPC out in the wild I now hope that the developers will do a new release (0.9.30)

[Lazarus] An untested version of TRichmemo 1.1.2.pew is available -- I have lost interest in it.

2010-09-11 Thread Peter E Williams
Hi, (sorry, this message is very long) WITH THANKS TO DMITRY and Team!!! -- unfortunately I have not much of a sense of humour today. I think I have too many women on my mind ?!?:) :(. I am a single man looking for love and sex... At the moment I am crying and I have my stereo playing my

[Lazarus] How do I get the default path and filename for the user's HTML browser???

2010-09-07 Thread Peter E Williams
Hi All, I am writing a procedure called OpenHTMLFile. It works fine with HTML_Browser_file (which is the command to run) set to 'firefox' on my Linux Ubuntu 10.04 system. My question is this... what do I need to change to make HTML_Browser_file default to the default application (path and

[Lazarus] Subversion newbie questions. How to create repositories for my alpha and beta versions of my projects?

2010-09-06 Thread Peter E Williams
Hi All, I am a newbie subversion user and yesterday I install subversion and installed Lazarus 0.9.29.2 into ~/laztrunk on both my desktop and laptop computers (both linux Ubuntu 10.04). The latest version of all my source code is on my desktop in this folder:

Re: [Lazarus] Subversion newbie questions. How to create repositories for my alpha and beta versions of my projects?

2010-09-06 Thread Peter E Williams
Hi Felipe and All, On Mon, 2010-09-06 at 10:54 +0200, Felipe Monteiro de Carvalho wrote: On Mon, Sep 6, 2010 at 10:23 AM, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: How can I use subversion to create an Internet repository for my code, which is public domain but still

Re: [Lazarus] Sample code needed to create form at runtime only (see mock up below).

2010-09-05 Thread Peter E Williams
Hi Felipe and All, On Sun, 2010-09-05 at 07:01 +0200, Felipe Monteiro de Carvalho wrote: On Sun, Sep 5, 2010 at 6:39 AM, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Questions: 1) Does the Memo1, OK_Button and Cancel TButton need to be in a TGroupBox??? 2) Also

Re: [Lazarus] Sample code needed to create form at runtime only (see mock up below).

2010-09-05 Thread Peter E Williams
Hi Alberto and All, On Sun, 2010-09-05 at 22:24 +0300, Alberto Narduzzi wrote: I would guess something like: { this code is all untested and typed straight into my email client } procedure create_formA( Image_filename : string; StringList1 : TStringList ); var FormA : TForm;

[Lazarus] Something is wrong with Lazarus-other list ... does NOT link to Thread, Author, Subject Date pages nor send digest.

2010-09-05 Thread Peter E Williams
-other list. Something is broken! Best Regards, PEW Hobart, Tasmania, Australia Subject: Subversion newbie questions. How to create repositories for my alpha and beta versions of my projects? From: Peter E Williams foss.game.pascal.develo...@iinet.net.au Reply-To: foss.game.pascal.develo

Re: [Lazarus] Something is wrong with Lazarus-other list ... does NOT link to Thread, Author, Subject Date pages nor send digest.

2010-09-05 Thread Peter E Williams
Hi Vincent, On Sun, 2010-09-05 at 22:26 +0200, Vincent Snijders wrote: 2010/9/5 Peter E Williams foss.game.pascal.develo...@iinet.net.au: Hi All, I posted the follow email to lazarus-ot...@lists.lazarus.freepascal.org about 5 hours ago and list seems to not be working! Lazarus-other list

[Lazarus] RichMemo 1.0.0 is broken. Error moving component error when creating component at design time.

2010-09-04 Thread Peter E Williams
Hi All, I am trying to use RichMemo 1.0.0 from Lazarus Code and Component Repository [1]. It installs in the Common Controls component tab and it is badly broken!!! If I attempt to add a new RichMemo to a form (at design time) then I get an Error moving component error and the code for the

Re: [Lazarus] RichMemo 1.0.0 is broken. Error moving component error when creating component at design time.

2010-09-04 Thread Peter E Williams
Hi Juha and All, On Sat, 4 Sep 2010 15:36:32 +0300 Juha Manninen (gmail) juha.mannine...@gmail.com wrote: Hi If you are using the official 0.9.28 version of Lazarus then I recommend the trunk version, 0.9.29. It has many improvements. Juha Okay... I tried that version and it did

Re: [Lazarus] RichMemo 1.0.0 is broken. Error moving component error when creating component at design time.

2010-09-04 Thread Peter E Williams
Hi Dmitry, On Sat, 2010-09-04 at 17:59 +, dmitry boyarintsev wrote: On Sat, Sep 4, 2010 at 5:26 PM, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Okay... I tried that version and it did not even compile. I have made all the changes necessary to make it compile

[Lazarus] Sample code needed to create form at runtime only (see mock up below).

2010-09-04 Thread Peter E Williams
Hi All, This is a rough mock-up of a TForm that I need to create at runtime only. +--+ | Form caption | +--+ |+--+S+---+| || |P|

[Lazarus] Errors installing ACS 2.2 Sound component (ACS_Classes.pas)

2010-09-03 Thread Peter E Williams
; end; Best Regards, Peter E Williams Hobart, Tasmania, Australia -- Proudly developing Quality Cross Platform Open Source Games Since 1970 with a Commodore PET 4016 with 16 KRAM http://pews-freeware-games.org (--- brand new) (* This file is a part of Audio Components Suite v 2.2

Re: [Lazarus] Errors installing ACS 2.2 Sound component (ACS_Classes.pas)

2010-09-03 Thread Peter E Williams
there somewhere where I can download the ENTIRE archive of it, instead of each bloody individual file!?!?!?!? I would appreciate a link to it. Best Regards, PEW Hobart, Tasmania, Australia - Original Message From: Peter E Williams foss.game.pascal.develo...@iinet.net.au

Re: [Lazarus] How do I do a Perform(EM_LINESCROLL, ?, ?) to scroll to the bottom of a Tmemo.

2010-09-03 Thread Peter E Williams
Hi All, On Fri, 2010-09-03 at 06:57 +1000, Peter E Williams wrote: Hi All, I am porting some code from Delphi to lazarus and I needed to change a Trichedit to a Tmemo. Now the code This microsoft page: http://msdn.microsoft.com/en-us/library/bb761615%28VS.85%29.aspx gives the details

Re: [Lazarus] How to produce a tone at Tone frequency for duration MSecs (milliseconds)

2010-09-02 Thread Peter E Williams
the remainder of the TBeeper.pas unit to Lazarus ... and I think that it would be popular (in limited circles). Best Regards, PEW Hobart, Tasmania, Australia sri, John Peter E Williams wrote: Hi Michael and All, Actually I don't need a resolution of single milliseconds. I really only

[Lazarus] Software needed to resize .ico file from Delphi (32x32) to 128x128 pixels.

2010-09-02 Thread Peter E Williams
Hi All, I have an old icon (.ico) created with Delphi which is 32x32 pixels at 72 dpi. I would like to resize it to 128x128 pixels. What is the simplest way for me to do this? I am using Linux Ubuntu but I can also use most Windows software with WINE. Can someone please recommend some software

Re: [Lazarus] How to produce a tone at Tone frequency for duration, MSecs (milliseconds)

2010-09-02 Thread Peter E Williams
Ho Benito, On Thu, 02 Sep 2010 16:41:41 +0200 (Benito van der Zander) wrote: Hi, are you using Windows or Linux? I will assume Windows, because you want to replace the Delphi component. Then you can Windows.Beep, (which I'm pretty sure exists in Lazarus), or directly talk to the device

[Lazarus] How do I do a Perform(EM_LINESCROLL, ?, ?) to scroll to the bottom of a Tmemo.

2010-09-02 Thread Peter E Williams
Hi All, I am porting some code from Delphi to lazarus and I needed to change a Trichedit to a Tmemo. Now the code with Memo2 do Perform(EM_LINESCROLL, 0, Memo_lines_added); does not work. It is supposed to scroll the TMemo to the bottom of the window. I tried to use TRichView but it

Re: [Lazarus] Error: overloaded identifier MyButtonsClickHandler isn't a function

2010-09-01 Thread Peter E Williams
Hi Ido, On Wed, 2010-09-01 at 10:38 +0300, ik wrote: Please see fixes inline. http://ik.homelinux.org/ I went to the above URL and I cannot find any fixes inline. Please provide an exact URL for the new version. I have a few bug fixes for it to send to you. Best Regards, PEW

Re: [Lazarus] Error: overloaded identifier MyButtonsClickHandler isn't a function

2010-09-01 Thread Peter E Williams
Hi Ido, Henry and all, On Wed, 2010-09-01 at 11:37 +0100, Henry Vermaak wrote: On 1 September 2010 09:39, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Hi Ido, On Wed, 2010-09-01 at 10:38 +0300, ik wrote: Please see fixes inline. http://ik.homelinux.org/ I

[Lazarus] TDBF File is NOT created!!! FieldDefs.add( field, param, param ) does NOT create fields.

2010-09-01 Thread Peter E Williams
Hi all, This one is really puzzling. I thought that I was doing everything okay to generate a new TDBF file... but I cannot create the file. The following is tracetestUnit1.pas which is a test unit to create a dBase format TDbf database file. Output to memo1 follows: FilePath =

Re: [Lazarus] How to produce a tone at Tone frequency for duration MSecs (milliseconds)

2010-09-01 Thread Peter E Williams
Hi Michael and All, Actually I don't need a resolution of single milliseconds. I really only need tens or even hundreds of milliseconds. Typical MSecs parameter is 100ms. Also, exact Tone frequency is not required... only the approx frequency tone. Obviously, since I want to create a range of

Re: [Lazarus] TDBF File is NOT created!!! FieldDefs.add( field, param, param ) does NOT create fields.

2010-09-01 Thread Peter E Williams
SOLVED !!! On Wed, 01 Sep 2010 13:00:50 -0400 waldo kitty wrote: On 9/1/2010 08:45, Peter E Williams wrote: Hi all, This one is really puzzling. I thought that I was doing everything okay to generate a new TDBF file... but I cannot create the file. The following is tracetestUnit1

Re: [Lazarus] Changing Dataset.RecNo to use safer technique of bookmarks (TDbf database files)]]

2010-08-31 Thread Peter E Williams
Hi Lazarus List and Alvaro, Below is the reply to this message from my friend Alvaro in Spain, who is a part-time Delphi programmer. On Tue, Aug 31, 2010 at 6:03 AM, Peter E Williams p...@iinet.net.au wrote: Hi Alvaro, forwarded below is another yet to be answered post

[Lazarus] Error: overloaded identifier MyButtonsClickHandler isn't a function

2010-08-31 Thread Peter E Williams
Hi Lazarus List and Alvaro, I am trying to write a short test project for buttonlist.pas which is a modified version of Ido's untbuttonlist.pas ... but with some extra procedures and functions. The problem I am now having is that there is no sample project showing how to write a ButtonClick

[Lazarus] Error: identifier idents no member SetSpecificCaption (buttonlist.pas)

2010-08-30 Thread Peter E Williams
, but that's the idea of how to do it. I hope that helps, and feel free to ask more questions, or to be pointed for additional information. Ido http://ik.homelinux.org/ On Mon, Aug 30, 2010 at 22:06, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Hi

[Lazarus] Changing Dataset.RecNo to use safer technique of bookmarks (TDbf database files)

2010-08-30 Thread Peter E Williams
Hi All, A few months ago I posted some messages about converting my dBase code (in Delphi) to lazarus. I was advised that I should NOT use Dataset.RecNo but instead I should use bookmarks. Can someone please advise me how to rewrite: with Hexx_Data_DBF.FieldDefs do Hexx_Data_DBF_RecNo :=

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ? (ik)

2010-08-29 Thread Peter E Williams
On Sun, 29 Aug 2010 10:41:53 +0300, Ido wrote: From: ik ido...@gmail.com Hi, I've created this component. You can find it at: http://github.com/ik5/linesip-components/blob/master/buttons/untbuttonlist.pas Ido http://ik.homelinux.org/ Thanks, Ido, I will use your unit. It saves me

[Lazarus] Files have wrong owner, root... making build lazarus impossible.

2010-08-29 Thread Peter E Williams
Hi All, I am using Linux Ubuntu 10.04 LTS with latest lazarus (as installed via the Ubuntu Software Centre). Today I removed Lazarus and did a clean reinstall. I am now unable to do a clean build. See below: LCL completed Package Registration completed IDE Interface completed SynEdit completed

[Lazarus] RowCount and ColCount properties do NOT affect the display of the number of rows and columns in my component.

2010-08-28 Thread Peter E Williams
, Tasmania, Australia unit arraybutton; //{$MODE Delphi} {$mode objfpc}{$H+} { Author: Unknown + -- modifications by Peter E. Williams + suggestions from alt.comp.lang.borland-delphi newsgroup + suggestions from

[Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-28 Thread Peter E Williams
Hi, This email is related to my previous post. I want to create a new component called a TButtonGrid which would be a descendant of TCustomDrawGrid. Problem is that I don't know how to do that. Obviously, I would need to make the CustomDraw (???) draw a TButton. Does anyone have some example(s)

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-28 Thread Peter E Williams
instead ??? On 28/8/10 10:31, Peter E Williams wrote: Hi, This email is related to my previous post. I want to create a new component called a TButtonGrid which would be a descendant of TCustomDrawGrid. Problem is that I don't know how to do that. Obviously, I would need to make

Re: [Lazarus] Some information please

2010-07-05 Thread Peter E Williams
Hi Hans-Peter, You forgot to reply to the list :-))). You simply needed to click on reply-all. I would prefer that this discussion be kept on the list instead of private. On Sun, 2010-07-04 at 18:58 +0200, Hans-Peter Diettrich wrote: Peter E Williams schrieb: can recommend learning how

Re: [Lazarus] Some information please

2010-07-05 Thread Peter E Williams
Hi J?rgen and All, On Mon, 2010-07-05 at 08:16 +0200, lazarus-requ...@lists.lazarus.freepascal.org wrote: Message: 4 Date: Sun, 04 Jul 2010 18:59:16 +0200 From: J?rgen Hestermann juergen.hesterm...@gmx.de Subject: Re: [Lazarus] Some information please To: Lazarus mailing list

Re: [Lazarus] Some information please

2010-07-04 Thread Peter E Williams
Hi jjb, On Sat, 2010-07-03 at 21:19 +0200, lazarus-requ...@lists.lazarus.freepascal.org wrote: Message: 1 Date: Sat, 3 Jul 2010 13:58:56 +0100 From: jjb real...@gmail.com Subject: [Lazarus] Some information please To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Message-ID:

Re: [Lazarus] Parser

2010-07-02 Thread Peter E Williams
On Thu, 2010-07-01 at 11:45 +0200,lazarus-requ...@lists.lazarus.freepascal.org wrote: Hi, Message: 6 Date: Thu, 01 Jul 2010 19:30:26 +0200 From: Hans-Peter Diettrich drdiettri...@aol.com Subject: Re: [Lazarus] Parser To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Message-ID:

[Lazarus] dBase TIP - how to append from array records reindex (example)

2010-06-20 Thread Peter E Williams
Hi Lazarus Folk, I hope that this is not too off topic but in view of the discussions about embedded databases I thought I would share a tip from many years ago about using the XBASE append from array aRec reindex command with the REINDEX parameter: * Rebuilds open indexes after all

Re: [Lazarus] Component installs without icon on component toolbar - tarraybutton.lrs(1, 17) Error: Identifier not found LazarusResources (Mattias Gaertner)

2010-06-19 Thread Peter E Williams
Hi Mattias All, On Fri, 2010-06-18 at 00:17 +0200, Mattias wrote: On Fri, 18 Jun 2010 03:38:59 +1000 Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Hi dmitry All, On Thu, 2010-06-17 at 12:21 +0400, dmitry boyarintsev wrote: On Thu, Jun 17, 2010 at 12:14 PM

Re: [Lazarus] Adding File to Package - Fatal: Can't find unit Controls used by ugradbtn

2010-06-17 Thread Peter E Williams
Delphi} { Author: Unknown + -- modifications by Peter E. Williams + suggestions from alt.comp.lang.borland-delphi newsgroup + suggestions from Mark Meyer in delphiprogramm...@yahoogroups.com. This code

[Lazarus] hexxpawn8_0.50.alpha filename_Trace_File_DBF = error type {const filename_Trace_File_DBF = 'hex8_log.dbf'; }

2010-06-16 Thread Peter E Williams
Hi All, I have finally gotten my project compiling without errors. I do however get a Debugger exception with the const filename_Trace_File_DBF = 'hex8_log.dbf'; ... which I find very odd. From hexboard3.pas (see procedure THxboard.open_trace_file; below) Trace_File_DBF.Name :=

[Lazarus] Adding File to Package - Fatal: Can't find unit Controls used by ugradbtn

2010-06-16 Thread Peter E Williams
Hi All, I am using Package / New Package / Add File... to create a component descended from GradButton (@wiki http://wiki.lazarus.freepascal.org/TGradButton ) I am getting this error //ugradbtn.pas(18,22) Fatal: Can't find unit Controls used by ugradbtn Path it the component is:

Re: [Lazarus] Functions, procedures etc for using Dbase3/4 files ... what are they in Lazarus? (I used XBase1 in Delphi 5)

2010-06-15 Thread Peter E Williams
Hi Joost All, On Tue, 2010-06-15 at 11:40 +0200, Joost van der Sluis wrote: On Tue, 2010-06-15 at 14:54 +1000, Peter E Williams wrote: On Mon Jun 14 18:00:51 CEST 2010, Howard Page-Clark wrote: For a general introduction have a look at http://wiki.lazarus.freepascal.org

[Lazarus] hexboard2.pas(22, 42) Error: Identifier not found WM_USER

2010-06-14 Thread Peter E Williams
Hi All, I have been porting a game written in Delphi 5 Enterprise. I am getting an Identifier not found for WM_USER when assigning it to the WM_USER_APPLICATION_MINIMIZE const. What do I do to correct this error? I am implementing procedure OnUserAppMin(var M: TMessage); from unit

[Lazarus] hexboard2.pas(837, 42) Error: Error in type definition (board2 : TStringGrid)

2010-06-14 Thread Peter E Williams
Hi All, I am porting my general.pas unit from my Delphi 5 Enterprise game. I use TStringGrid (previously TStringAlignGrid) and this worked fine in my project. In procedure Thxboard.flip_boards; the var board2: TStringGrid; gives a type definition (board2: TStringGrid) error. The unit uses Grid

[Lazarus] Functions, procedures etc for using Dbase3/4 files ... what are they in Lazarus? (I used XBase1 in Delphi 5)

2010-06-14 Thread Peter E Williams
Hi All, I really need to know what is the Dbase3/4 unit for Lazarus/Free Pascal and where is the sample project for manipulating them. I found it somewhere on the lazarus website but don't know where. I hope that it is okay for me to post some of my code which uses the XBase1 unit in Delphi 5

Re: [Lazarus] Functions, procedures etc for using Dbase3/4 files ... what are they in Lazarus? (I used XBase1 in Delphi 5)

2010-06-14 Thread Peter E Williams
; open_db; // ### needs changing HexxData_DBF.GotoRecord(HexxData_DBF_rec_no); end; // if found end; // else end; { write_updated_pattern } {-} Best Regards, Peter On Tue, 15 Jun 2010, Peter E Williams wrote

[Lazarus] Should I Convert TStringAlignGrid 2.1 or use TStringGrid ??? http://www.hoerstemeier.com/

2010-06-10 Thread Peter E Williams
subject: Should I Convert TStringAlignGrid 2.1 or use TStringGrid ??? http://www.hoerstemeier.com/ (based on Delphi 6) Hi All, Should I convert the .pas and .dfm files into lazarus .pas and .lfm files ??? Or should I use the standard lazarus TStringGrid component ??? I used Andy's

Re: [Lazarus] The default local HTML Help path is blank -- what should it be?

2010-06-08 Thread Peter E Williams
Hi Mattias and all, Date: Tue, 01 Jun 2010 23:10:07 +1000 From: Peter E Williams foss.game.pascal.develo...@iinet.net.au Subject: Re: [Lazarus] The default local HTML Help path is blank -- what should it be? Mattias Gaertner nc-gaertnma at netcologne.de Sun May 23 09:49:42 CEST

[Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-07 Thread Peter E Williams
Hi Ingo All, Am 04.06.2010 02:21, schrieb Peter E Williams: File: hello.pp [Read-Only] (/usr/lib/lazarus/0.9.28.2/examples) Hello, if you have installed Lazarus by packagemanager you have no permission Hi Ingo All, I tried to add a menu item Superuser Lazarus -- sudo lazarus

[Lazarus] Vortex unit for Turbo Pascal -- looking for volunteers to convert this excellent unit and others to Free Pascal and Lazarus.

2010-06-07 Thread Peter E Williams
Hi, Michael John Phillips is a friend of mine for over 3 decades and he is an unemployed Delphi communications programmer living in Canberra, Australia. He writes excellent and well documented code and below is a link to his Vortex unit. It is a mix of pascal and assembler for Windows. I am

[Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-03 Thread Peter E Williams
Hi All, I am wondering if the default installation paths for 0.9.28.2 on Ubuntu 10.04 LTS require tweaking. I know that the HTML Help is NOT installed and this is really pissing me off. Error: /usr/lib/lazarus/0.9.28.2/examples/hello.pp(31,1) Error: Can't create object file:

[Lazarus] DTM Island Maker test program working fine... problems were with saving the form with a different name

2010-06-02 Thread Peter E Williams
Hi All, Here is a saved txt file from my public domain Digital Terrain Model Island Maker app 2.6.alpha. It produces ascii text islands suitable for importing into text based adventure games. PQK.VXYKIJ ...ORJLTUWLZ12 .@.s...647..nisfdchfg3

Re: [Lazarus] The default local HTML Help path is blank -- what should it be?

2010-06-01 Thread Peter E Williams
[Lazarus] The default local HTML Help path is blank -- what should it be? Mattias Gaertner nc-gaertnma at netcologne.de Sun May 23 09:49:42 CEST 2010 On Sun, 23 May 2010 09:25:55 +1000 Peter E Williams

[Lazarus] How do I switch from viewing a form in the source editor to viewing in the design GUI interface?

2010-06-01 Thread Peter E Williams
Hi All, How do I switch from viewing a form in the source editor to viewing in the design GUI interface? I have a ported old lazarus to current lazarus app and I cannot view the form in design view, only in the source editor xml view Peter -- Proudly developing Quality Cross Platform Open

Re: [Lazarus] Error: Identifier not found CreateaNewIsland1Click - now compiles. Wrong form loaded

2010-05-23 Thread Peter E Williams
+0100, Vannus wrote: On 23 May 2010 00:56, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Hi All, I am now getting an identifier not found error. In the error messages window, if I select Help the lazarus cannot find the local

Re: [Lazarus] My Island_maker D5/7 port test code - Error: Incompatible type for arg no. 1: Got TTranslateString, expected QWord

2010-05-22 Thread Peter E Williams
Hi Vannus and all, -- Love and Friendship, Peter Eric Williams +61 3 6236-9675 (home or leave a message) Mobile 044-99-256-50 Proudly created in Australia. Quality Cross-Platform Games since 1970 with a Commodore PET 4016 with 16 Kilobytes of RAM (not Megabytes). On Sat, 2010-05-22 at 00:52

[Lazarus] The default local HTML Help path is blank -- what should it be?

2010-05-22 Thread Peter E Williams
Hi All, I asked this question in my previous post but in hindsight I should have posted it as a separate question. Selecting Help from the message window gives this error. The path to the Help Help was blank even tho' it has apparently been installed. I don't know where to set the path to

[Lazarus] Error: Identifier not found CreateaNewIsland1Click

2010-05-22 Thread Peter E Williams
Hi All, I am now getting an identifier not found error. In the error messages window, if I select Help the lazarus cannot find the local HTML help file. I cannot find my way around the lazarus website. :-( file set_max.pas Uses main_island;

Re: [Lazarus] Where do I set the path to my project main directory and how to configure Code Browser?

2010-05-16 Thread Peter E Williams
Hi Joost and All, On Sat, 2010-05-15 at 13:13 +0200, Joost van der Sluis wrote: On Tue, 2010-05-11 at 12:30 +1000, Peter E Williams wrote: I am converting some old lazarus code to latest stable lazarus my code ported from Delphi 7 Enterprise for Cross Platform development. I think no-one

[Lazarus] Where do I set the path to my project main directory and how to configure Code Browser?

2010-05-10 Thread Peter E Williams
lazarus_source/ (files here for 1st version) /2.0.alpha/ /backup Regards, Peter E Williams (Hobart, Australia) https://sites.google.com/site/pewtas/home/delphi_source_code -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http