Re: [lazarus] Delphi/Lazarus comparison by Codegear

2008-01-18 Thread Dave Coventry
On Jan 18, 2008 10:03 AM, Gerard N/A wrote: Uh? This would mean that I've been distributing apps illegally made with pro versions for years. Are you sure? Reasonably sure. I read the licensing stuff a few years back and I could be wrong, but that's how I understood it. If anyone has

Re: [lazarus] Delphi/Lazarus comparison by Codegear

2008-01-18 Thread Dave Coventry
Is that the Standard Edition? I have the Delphi 3 Standard Edition which allows me to distribute apps. I believe that subsequent Upgrades split into 'Standard Edition' and 'Enterprise Edition'. The Enterprise Edition allowed you to distribute your apps, but the Standard Edition added certain

Re: [lazarus] Delphi/Lazarus comparison by Codegear

2008-01-17 Thread Dave Coventry
Well, it was licensing issues that brought me away from Delphi. I have Delphi 3 Standard and I still code with it, I never upgraded to 4 because it had a bad reputation, when 5 came out they had changed the license so that you were no longer free to distribute your applications unless you shelled

Re: [lazarus] Bad news

2007-11-13 Thread Dave Coventry
On Nov 13, 2007 10:22 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: But everyone is open for a constructive discussion. Speaking of which, Mr. Trefethen has posted what he claims are some of the plagiarisms in the FPC code on his blog.

Re: copyright infringement in LCL code

2007-11-13 Thread Dave Coventry
On Nov 13, 2007 12:55 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: To prove this point, I attached the output of 'sim_pasc' comparing the LCL's controls.pas to the Kylix 3 QControls.pas Even some of the comments are identical! See attached file for output: Line 5-30 (code looks the

Re: copyright infringement in LCL code

2007-11-13 Thread Dave Coventry
On Nov 13, 2007 1:19 PM, Marc Weustink [EMAIL PROTECTED] wrote: Did you really take look at the file ? Only in the case where there is a similarity in comments I've doubts (also note that this is from Kylix code, written after the LCl existed). All other are either mismatches or trivial

Re: [lazarus] Bad news

2007-11-12 Thread Dave Coventry
Yes, it looks like FUD. From the website: I'm considering using FreePascal for a commercial project. Now I am wondering if that is such a good idea. If FreePascal becomes a target for Borland and the FreePascal project shuts down I would either have to only provide a Windows (after recompiling

Re: [lazarus] Bad news

2007-11-12 Thread Dave Coventry
On Nov 12, 2007 8:42 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: I left him some of my thoughts as well! Yer. Me too. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] VOOE Programming.

2007-08-20 Thread Dave Coventry
I have advised a Visual Basic user of the merits of Lazarus and he asked Yes, but can it do VOOE programming. Actually, I don't know what VOOE programming is ;), but I thought I'd pose the question anyhow

Re: [lazarus] Question from 100000 of dollars

2007-07-05 Thread Dave Coventry
Florian Klaempfl wrote: Jury Azovtzev schrieb: *from 10 of dollars the question could be solve in a short time :))* Well, for US-$ 100,000, I guess it would happen fast :) Yes. For Zimbabwe Dollars it may take a wee bit longer ;) 1US=500,000ZIM On 7/5/07, * John Meyer*

Re: [lazarus] Mousewheel capture

2007-06-17 Thread Dave Coventry
it works */Graeme Geldenhuys [EMAIL PROTECTED]/* wrote: Hi, Below is a forwarded message. Could anybody try and help this guy out? I've never used a Scrollbox or the Mousewheel event. -- From: Dave Coventry Date

Re: [lazarus] Mousewheel capture

2007-06-15 Thread Dave Coventry
. -- From: Dave Coventry [EMAIL PROTECTED] Date: Jun 12, 2007 - 06:43 AM Hi, I've put a TScrollBox and a Tmemo onto a form. The TScrollbox has a Mousewheel event that I can use to capture Mousewheel scrolls. However, if I place a TImage

Re: [lazarus] Graphics32 and Lazarus

2007-06-05 Thread Dave Coventry
; Image.Bitmap.MoveToF(X, Y); while Theta 15 * 3.1415926535 do begin Image.Bitmap.LineToFSP(X + Cos(Theta) * Theta, Y + Sin(Theta) * Theta); Theta := Theta + 0.2; end; end; initialization {$I mainunit.lrs} end. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31

Re: [lazarus] Accepting Input on controls which don't have focus

2007-06-01 Thread Dave Coventry
Hi Mattias, Can you tell me how to tell if a TMemo has received mouse wheel events? I've googled a lot for information on this, but haven't had any enlightenment Dave Coventry wrote: Mattias Gaertner wrote: Maybe do this for other platforms: If the image receives focus, set focus

Re: [lazarus] Accepting Input on controls which don't have focus

2007-05-31 Thread Dave Coventry
the TImage Canvas. It seems to work really well.:) -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448 Cell: +27(0)82 9000179 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

[lazarus] Accepting Input on controls which don't have focus

2007-05-30 Thread Dave Coventry
to be reflected in the TMemo. However, if the Focus is set onto the TImage, the TMemo doesn't take the keyboard input, and visa versa, if the TMemo has focus, the Mousewheel events are discarded. Any solutions? Many Thanks, -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Dave Coventry
archives at http://www.lazarus.freepascal.org/mailarchives -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448 Cell: +27(0)82 9000179 _ To unsubscribe: mail [EMAIL PROTECTED

[lazarus] Reducing Flickeron a TImage component

2007-05-28 Thread Dave Coventry
to accentuate it somewhat. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448 Cell: +27(0)82 9000179 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-28 Thread Dave Coventry
.Canvas? or do you draw to Image1.Picture.Bitmap.Canvas as suggested by the wiki? Which seems to make the flickering worse? Or do you need to suspend onPaint until you've finished drawing? In which case, how do you suspend onPaint? -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-28 Thread Dave Coventry
, Dave Coventry [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Gustavo Enrique Jimenez wrote: There are good tutorials/examples on http://wiki.lazarus.freepascal.org/Developing_with_Graphics http://wiki.lazarus.freepascal.org/Developing_with_Graphics http

[lazarus] Bug/feature deletes unit1 file.

2007-05-26 Thread Dave Coventry
of a shock to me because I was working quite a lot on that unit recently and my back up copy is around 500 lines short! I don't want to post a bug report as I'm not sure whether this is fixed in the latest revision. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448

[lazarus] Mouse wheel events

2007-05-09 Thread Dave Coventry
Hi, What is the technique for capturing mousewheel events? I've googled extensively and have Dave Jewels 1998 articles in Delphi magazine describing techniques for Windows '95 and '98. Are these techniques compatible with other operating systems? -- Dave Coventry Tel (home): +27(0)31

[lazarus] XPM conversion utility

2007-05-08 Thread Dave Coventry
closely, but source code is included (albeit in Delphi) so it should be possible to alter it to allow batch processing. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448 Cell: +27(0)82 9000179

Re: [lazarus] GUI design guidelines (might be OT)

2007-02-28 Thread Dave Coventry
app under Gnome) or Character Map under Gnome. http://developer.kde.org/documentation/standards/kde/kde-style.html#menus -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 2058448 Cell: +27(0)82 3685983

Re: [lazarus] OT: Döner was Re: Ideas to implement AllocateHwnd

2007-02-26 Thread Dave Coventry
in the eighties caused by the el nino ruined him. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

[lazarus] Reading an ascii value from a keypress

2007-02-25 Thread Dave Coventry
variable to tell if the shift key is pressed and process the input from that, but it's a bit of a pain and I'm worried about different keyboard layouts. -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 3092301 Cell: +27(0)82 3685983

Re: [lazarus] Reading an ascii value from a keypress

2007-02-25 Thread Dave Coventry
(Sender: TObject; var Key: Word; Shift: TShiftState); begin memo1.lines.add('Read KEY CODE '+inttostr(key)); end; On 2/25/07, *Dave Coventry* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using a Tmemo onKeyUp event to catch keyboard input (I need to catch

[lazarus] TScreen TCursor

2007-02-06 Thread Dave Coventry
Hi, Is it possible to define a custom cursor in a cross-platform way? -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED

[lazarus] Colour a cell in TStringGrid?

2007-01-25 Thread Dave Coventry
Hi, Can you colour an individual cell in TStringGrid? Thank you, -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

Re: [lazarus] Colour a cell in TStringGrid?

2007-01-25 Thread Dave Coventry
Graeme, TSemaphorGrid fails to load. It's maybe not in my build of Lazarus? Graeme Geldenhuys wrote: Yes, the TSemaphorGrid does that. You can find the example in the Lazarus examples directory. Graeme. On 1/25/07, Dave Coventry [EMAIL PROTECTED] wrote: Hi, Can you colour an individual

[lazarus] Manipulating files, directories on the HD

2007-01-23 Thread Dave Coventry
Hi, Can anyone suggest a good cross platform way of deleting files and directories from the File system in both windows and linux? I thought using: SysUtils.ExecuteProcess('mkdir',TempPath); might do the trick, but it fails. (Requires the full path of the command?) Many thanks -- Dave

Re: [lazarus] Loading Menus form a file at runtime.

2007-01-17 Thread Dave Coventry
] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED

Re: [lazarus] Re: Linking Fails: cannot find -lglib

2007-01-16 Thread Dave Coventry
/mailarchives -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http

Re: [lazarus] Re: Linking Fails: cannot find -lglib

2007-01-16 Thread Dave Coventry
Okay! It Works! Only problem is that Lazarus can't find the fpc source directory. I installed to /usr/local which was the default. Dave Coventry wrote: Oops. This is possibly the crux of my problem. CoLinux cannot access any of the hardware on the machine, so I use a Virtual Desktop

Re: [lazarus] Re: Linking Fails: cannot find -lglib

2007-01-16 Thread Dave Coventry
Albert, Understood. We are talking here of an installation of Gentoo in CoLinux. The Linux Root Partition exists within a 4Gig File on my XP harddrive. And that is backed up on a DVD. I am really not worried about breaking my Gentoo install; all I need to do is wipe the file and replace it.

Re: [lazarus] utf8toansi

2007-01-15 Thread Dave Coventry
of the subject, python in this case. Micha _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Dave Coventry Tel: +27(0)31

[lazarus] Linking Fails: cannot find -lglib

2007-01-15 Thread Dave Coventry
have googled, but without success. I have checked http://wiki.lazarus.freepascal.org/Lazarus_Faq#When_compiling_lazarus_the_compiler_can_not_find_a_unit._e.g.:_gtkint.pp.2817.2C16.29_Fatal:_Can.27t_find_unit_GLIB but all the points are not applicable. -- Dave Coventry Tel: +27(0)31 3092301 Fax

Re: [lazarus] Linking Fails: cannot find -lglib

2007-01-15 Thread Dave Coventry
Arrrgh! installed glib (emerge glib) Same error. Vincent Snijders wrote: Dave Coventry schreef: Hi, My Laptop is running XP with Gentoo also running in Co-Linux. The Windows installation of Lazarus installs Fine, but I get the following when I run 'make clean all': Linking ../lazarus /usr

Re: [lazarus] Linking Fails: cannot find -lglib

2007-01-15 Thread Dave Coventry
or /lib. Probably, your ld cannot find it in those directories. Dave Coventry yazmış: Arrrgh! installed glib (emerge glib) Same error. Vincent Snijders wrote: Dave Coventry schreef: Hi, My Laptop is running XP with Gentoo also running in Co-Linux. The Windows installation of Lazarus installs

Re: [lazarus] Linking Fails: cannot find -lglib

2007-01-15 Thread Dave Coventry
emerge glib-devel or glib-dev Before I took the drastic step of using Portage to install lazarus-0.9.12, I tried to search for glib-dev (emerge -s glib-dev) which drew no matches. Too obvious, i'm afraid! ;) Vincent Snijders wrote: Dave Coventry schreef: Arrrgh! installed glib (emerge glib

Re: [lazarus] Drawing a Bitmap onto an TImage component.

2007-01-04 Thread Dave Coventry
Thanks Mattias. I've already studied that wiki! I just needed to know that there wasn't something like Image1.Picture.Canvas.Line(X1,Y1,X2,Y2) which should be used instead of Image1.Canvas.Line! Thanks, Dave Mattias Gaertner wrote: On Wed, 03 Jan 2007 22:55:26 +0200 Dave Coventry [EMAIL

[lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-29 Thread Dave Coventry
a little advice? Many Thanks. -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http

Re: [lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-29 Thread Dave Coventry
: TObject); begin BufferBitMap.Width:=Image1.Width; BufferBitMap.Height:=Image1.Height; end; //~~~ snip ~~~ -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983

Re: [lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-29 Thread Dave Coventry
.Width; BufferBitMap.Height:=Image1.Height; //~~~ snip ~~~ in the same procedure rather than splitting it up over 2 different procedures, then I don't get the SIGSEGV error. Dave Coventry wrote: Marc Weustink wrote: Can you give us a little code sample

Re: [lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-29 Thread Dave Coventry
Oh. :-[ Michael Van Canneyt wrote: On Fri, 29 Dec 2006, Dave Coventry wrote: Hi, If I set the size of the TBitmap in the FormCreate procedure rather than the FormResize procedure, then the error does not arise. In other words, if I have the following: //~~~ snip

Re: [lazarus] Project raised exception class 'External: SIGSEGV'

2006-12-29 Thread Dave Coventry
Ok, if I need to declare something when the program is starting up, where would I put it? I'm placing all my initialisation stuff in FormCreate, and all my housekeeping in FormClose. Clearly I need to re-evaluate this if FormResize comes before FormCreate. Dave Coventry wrote: Oh

Re: [lazarus] Global Dynamic Arrays

2006-12-28 Thread Dave Coventry
and it all works fine.. -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http

Re: [lazarus] zlib

2006-12-09 Thread Dave Coventry
Hi Vincent. That's very impressive. I'm pretty sure I'll be making a lot of use out of those Vincent Snijders wrote: Dave Coventry schreef: Hi, I'm looking for a quick and dirty way of lumping several (well, thousands) of small text files into a larger file. Currently the larger

[lazarus] Perplexing TBitmap behavior.

2006-12-07 Thread Dave Coventry
problems. Also the 'uses' sections ARE identical. Does anyone have any ideas? -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED

Re: [lazarus] Perplexing TBitmap behavior.

2006-12-07 Thread Dave Coventry
Hi Tom, Yes! That was it! I've done a lot of head scratching trying to figure out what was going on. :-? Thank you. Tom Gregorovic wrote: Dave Coventry napsal(a): Hi, I have code as follows: // snip === procedure TForm1.FormShow(Sender: TObject); var

[lazarus] Resizing an image

2006-12-06 Thread Dave Coventry
,Image1.Width,Image1.Height); showmessage('Image width:'+inttostr(Image1.Width)); end; // snip = The Image1.Width does change size, but the area painted black remains at the Width specified at design time. Can anyone help? -- Dave Coventry Tel: +27(0

Re: [lazarus] Resizing an image

2006-12-06 Thread Dave Coventry
is unusable if it can't be resized? Well, I suppose you could still use it with non-resizable forms, but that would certainly diminish it's usefulness. Many Thanks, Dave Coventry Vincent Snijders wrote: Dave Coventry schreef: Hi, I have a TImage, Image1 on my form. I have the following code

[lazarus] Lazarus and Delphi: boolean expression expected, but got untyped

2006-12-02 Thread Dave Coventry
an error about error: boolean expression expected, but got untyped Can anyone point me in the right direction? (Works in Delphi) -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe

Re: [lazarus] Lazarus and Delphi: boolean expression expected, but got untyped

2006-12-02 Thread Dave Coventry
My mistake. I was obviously using a reserved word. It maybe worked in Delphi because I misspelled it...:( Dave Coventry wrote: Hi, I have a boolean called changed which I use to prevent the user from closing down if he hasn't saved his work. var Changed : boolen; if Changed then begin

[lazarus] Testing a pixel for colour.

2006-11-29 Thread Dave Coventry
on here? Can anyone suggest anything? -- Dave Coventry Tel: +27(0)31 3092301 Fax: +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http