[lazarus] Background Painting Problem in Linux

2006-06-15 Thread Paul Michell
I am having problems finding a way on Linux to stop a form flickering as it is repainted when resized. On Delphi I used to do this by processing the Windows Erase Background message and supressing the OS background fill (WM.Result=0). When I converted this to the Equivalent LM message it didn't

[lazarus] pascal is obsolete?

2006-06-15 Thread Bisma Jayadi
http://online-judge.uva.es/board/viewtopic.php?t=10919 These people need to get out of their boat to see the world! :D -Bee- has Bee.ography at: http://beeography.wordpress.com _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Background Painting Problem in Linux

2006-06-15 Thread Mattias Gaertner
On Thu, 15 Jun 2006 09:31:48 +0100 Paul Michell [EMAIL PROTECTED] wrote: I am having problems finding a way on Linux to stop a form flickering as it is repainted when resized. On Delphi I used to do this by processing the Windows Erase Background message and supressing the OS background fill

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Lord ZealoN
Well, this is normal. All the C/C++ developers always say the same thing. For C/C++ developers, only exists C/C++. Probably, they sense _cool_ for this. Is the hackers life. Today, i readed a message in a spanish web, about ADA. Well, a user post a comment about, ADA is not good because his

Re: [lazarus] Background Painting Problem in Linux

2006-06-15 Thread Paul Michell
Thanks for the reply, Is there any way on GTK1 of preventing the background fill? My app will redraw the entire client from a bitmap and not need the background fill first. On Thursday 15 June 2006 10:54 am, Mattias Gaertner wrote: On Thu, 15 Jun 2006 09:31:48 +0100 Paul Michell [EMAIL

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Lord ZealoN
and powerfull 2006/6/15, Adilson Oliveira [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1Bisma Jayadi escreveu: http://online-judge.uva.es/board/viewtopic.php?t=10919 These people need to get out of their boat to see the world! :DI learned to ignore this kind of discussion ages

Re: [lazarus] Background Painting Problem in Linux

2006-06-15 Thread Patrick Chevalley
My app will redraw the entire client from a bitmap and not needthe background fill first. Do you look at http://wiki.lazarus.freepascal.org/index.php/Developing_with_Graphics#Motion_Graphics_-_How_to_Avoid_flickering I use the custom control option for my Skychart application and this work very

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread William Cairns
Why have their never been any successful Pascal dirivitive languages? From C we have Java, C#, ActionScript, haXe etc. Why are there no real child languages of Pascal? -Original Message- From: Bisma Jayadi [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 14:20 PM To: lazarus@miraclec.com

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread Michael Van Canneyt
On Thu, 15 Jun 2006, William Cairns wrote: Why have their never been any successful Pascal dirivitive languages? Because pascal is perfect. Why change a perfect language ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Jon Shorie
On Thursday 15 June 2006 08:23, Michael Van Canneyt wrote: On Thu, 15 Jun 2006, William Cairns wrote: Why have their never been any successful Pascal dirivitive languages? Because pascal is perfect. Why change a perfect language ? Michael. What about Delphi, Modula 2, Action, the Apple

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Lord ZealoN
Good answer lol Well, Java is like CAda is like Pascal etc.. Much languajes (can you say all except C) has something from Pascal. 2006/6/15, Michael Van Canneyt [EMAIL PROTECTED]: On Thu, 15 Jun 2006, William Cairns wrote: Why have their never been any successful Pascal dirivitive

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Alexander Todorov
This one might be interesting - History of computer languages: http://www.digibarn.com/collections/posters/tongues/ComputerLanguagesChart.png As you see, with creation of Object Pascal the Pascal language is absolutely finished and there is nothing more to be added to it. BTW almost the same is

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread William Cairns
Why have their never been any successful Pascal dirivitive languages? Because pascal is perfect. Why change a perfect language ? What about Delphi, Modula 2, Action, the Apple Lisa Development Environment, the whole UCSD P System.. I carefully said successful :) While I agree that

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Felipe Monteiro de Carvalho
On 6/15/06, Alexander Todorov [EMAIL PROTECTED] wrote: Borland is one company that provides commercial pascal compilers I haven't heard of others. Maybe not for windows =) But for mobiles: http://www.midletpascal.com/ In the past both Microsoft and Apple provided pascal compilers. There was

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Eduardo
At 11:20 15/06/2006, you wrote: http://online-judge.uva.es/board/viewtopic.php?t=10919 These people need to get out of their boat to see the world! :D -Bee- As Peter 'N' Lewis said some years ago in an interview (They asked why does he choose Pascal for development and not c or c++) ' I

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread ik
On 6/15/06, Alexander Todorov [EMAIL PROTECTED] wrote: This one might be interesting - History of computer languages: http://www.digibarn.com/collections/posters/tongues/ComputerLanguagesChart.png As you see, with creation of Object Pascal the Pascal language is absolutely finished and there is

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Alexander Todorov
On 6/15/06, William Cairns [EMAIL PROTECTED] wrote: I was thinking more in the line of the way Java has taken over the world. This all has to do with Sun Mirosystems, a lot of money and marketing strategies. Things that FPC/Lazarus doesn't have ATM. I'd however like to see Pascal being moved

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread Eduardo
At 14:23 15/06/2006, you wrote: On Thu, 15 Jun 2006, William Cairns wrote: Why have their never been any successful Pascal dirivitive languages? Because pascal is perfect. Why change a perfect language ? It's not needed. Pascal is a designed language by engineers, so it has a slow study

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Felipe Monteiro de Carvalho
On 6/15/06, William Cairns [EMAIL PROTECTED] wrote: Like being able to compile Pascal to JavaByte code (Dont send me links on why FPC cant - I've read them all - I still would like it though) Althought a nice feature to have this isn´t indispensable. We can just port Free Pascal to almost all

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Felipe Monteiro de Carvalho
On 6/15/06, Alexander Todorov [EMAIL PROTECTED] wrote: The key to increasing pascal usage is promotion. Something like Microsoft and Sun do about their products. They are not the best but they urge you to use them, promote them in various ways and in the end there is the result. Depends very

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Felipe Monteiro de Carvalho
On 6/15/06, William Cairns [EMAIL PROTECTED] wrote: Midlet Pascal is nice - but it: 2. Not activly developed. Really? The last version is from January, doesn´t seam so far away. If so, maybe talking to the right people could get it open sourced. More to do maintenance, avoid death, and build

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread William Cairns
Midlet Pascal is nice - but it: 2. Not activly developed. Really? The last version is from January, doesn´t seam so far away. I've been a member on their forums since sometime in January. I dont think I have ever seen one of the developers post :( Unlike th eFPC and Lazarus enviornment.

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread William Cairns
Midlet Pascal is nice - but it: 1. Doesn;t support Classes 2. Not activly developed. All the mobile games I have made so far were done in MidletPascal so I know it quite well. -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 15:21 PM To:

Re: [lazarus] procedure TObject.Free

2006-06-15 Thread Al Boldi
Bram Kuijvenhoven wrote: Al Boldi wrote: Bram Kuijvenhoven wrote: function TAncestor.ToStringSafe:string; begin if self=nil then Exit('nil'); Result:=ToString; // now it's safe to call the virtual method end; Are you sure it's really safe to call? I think so:

Re: [lazarus] Background Painting Problem in Linux

2006-06-15 Thread Paul Michell
Thanks Patrick, I had seen that page on my search. If I am not mistaken, the custom control will presumably have the same background fill event before you paint the star chart? I am guessing that you have set the form's colour to black so that the flicker on re-sizing the window is not so

[lazarus] unable to get custom component icons on IDE toolbar

2006-06-15 Thread Giuliano Colla
I have a number of custom components which I've installed on an Extra tab on the IDE toolbar. I've tried the method described in the /components/custom directory, and many variations on the theme, but the net result is always the same: only the default icon is shown, so that all my components

[lazarus] colors for qt widgets

2006-06-15 Thread zephod
Hello, I implemented some very basic color handling for Qt widgets. Attached you can find a patch for the Qt interface. Maybe later a different approach can be followed, but for the time being this just works. bye colors.tar.gz Description: application/tgz

[lazarus] mouse event handling for qt widgets

2006-06-15 Thread zephod
hi, I am trying to implement mouse event handling for Qt widgets and have some questions about the way the modifier keys are handled. In Forms.pp : implementation of KeysToShiftState contains GetKeyState(VK_MENU). I don't quite understand why the Keys parameter shouldn't contain the ALT key. Is

Re: [lazarus] unable to get custom component icons on IDE toolbar

2006-06-15 Thread Mattias Gaertner
On Thu, 15 Jun 2006 18:59:51 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: I have a number of custom components which I've installed on an Extra tab on the IDE toolbar. I've tried the method described in the /components/custom directory, and many variations on the theme, but the net result

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread lazarus . mramirez
1. class that can have more then one object as it's parent (at this Multiple Inheretance. Difficult to understand, difficult to implement, but I have a problem where multiple inheretance was the solution, instead of multiples interfaces. 2. Powerful containers for class usage such as class X

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Felipe Monteiro de Carvalho
On 6/15/06, ik [EMAIL PROTECTED] wrote: 10. The infamous support of ... for infinite' parameters (You can make open array's to work like that). You can do that with a array of const type. Then you type: Proc(param1, [param2, param3, param4,.]) Declared as: procedure Proc(param1: Type;

Re: [lazarus] pascal is obsolete?

2006-06-15 Thread Tony Pelton
On 6/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 4. The amount of classes that comes with Java as part of the compiler :P Can live with them. Make your own libraries. i think that is wrong thinking. one of the reasons i was drawn to freepascal, and then lazarus, being a java