Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Felipe Monteiro de Carvalho
Mark, could you point us to how to fix this? (Which is something much better to do rether then pointlessly arguing about this) What exactly is theming support? How does one implement it? Are there functions in Gtk to retrive the colors for the theme, and then you use them and set the color for

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-17 Thread Martin Schreiber
On Monday 16 April 2007 22.24, Vincent Snijders wrote: If events are not executed when componentstate is csDesigning, then we don't have this problem. But the LCL does raise events when component state is csDesigning, and then this problem occurs. If we were to guard each OnXXX(Self) call

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Mattias Gaertner
On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Continuing my TRawImageQuestion. While implementing cursors and imagelists, Paul and I start to get

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Graeme Geldenhuys
Giuliano, I fully agree with you and couldn't say it better myself. This is our company's feeling about commercial software as well. The same thing could be said for my previous two companies I worked for. The clients dictates what they like and we must supply - after all, they paid for the

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Felipe Monteiro de Carvalho
On 4/17/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: For future implementations, I think it´s ok to copy the class declaration on the interface section (or am I wrong?), Of course I meant only the public parts, and not the private section. I just did a diff between menus.pp from

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Graeme Geldenhuys
On 4/17/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mark, could you point us to how to fix this? (Which is something much better to do rether then pointlessly arguing about this) What exactly is theming support? How does one implement it? Are there functions in Gtk to retrive the

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Felipe Monteiro de Carvalho
I did some random checks, and the rest of the lcl code looks ok. I checked clipbrd, stdactns, forms, etc, and looks clean from vcl code, with original implementations and white places on things not implemented yet. But there could be more copyrighted spots, so a good check would be nice. --

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: I would sugest investigating all patches by Tony. Does anyone know how to get all revisions with a svn log with the string Tony ? I couldn´t find such option on viewcvs Get the complete log at http://svn.freepascal.org/svn/logs/lazarus-all.log and search

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Felipe Monteiro de Carvalho
On 4/17/07, Vincent Snijders [EMAIL PROTECTED] wrote: Get the complete log at http://svn.freepascal.org/svn/logs/lazarus-all.log and search for Tony. Just did. Hi did some small patches about things that don´t exist on delphi. He also created the first implementation for printers.pas. His

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: The first patch about this is marked as: [snip] For future implementations, I think it´s ok to copy the class declaration on the interface section (or am I wrong?), because you are using it to provide a compatible interface, and then one should not look at

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Marc Weustink
Mattias Gaertner wrote: On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Continuing my TRawImageQuestion. While implementing cursors and imagelists, Paul and I start

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Mattias Gaertner
On Tue, 17 Apr 2007 10:24:36 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote:

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Marc Weustink
Mattias Gaertner wrote: On Tue, 17 Apr 2007 10:24:36 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED]

Re: [lazarus] TCustomGrid and GridLineWidth property

2007-04-17 Thread Graeme Geldenhuys
On 4/17/07, Jesús Reyes A. [EMAIL PROTECTED] wrote: Yes, is not yet implemented, the true is that I never found a use for that, maybe you found it? How else do you hide the grid lines? -- Graeme Geldenhuys There's no place like S34° 03.168' E018° 49.342'

[lazarus] [patch] - grids.pas (GridLineWidth)

2007-04-17 Thread Graeme Geldenhuys
Hi Attached is a patch for the TCustomGrid.GridLineWidth property. Please review before applying this patch. This is not a full implementation but rather a quick cosmetic implementation. The difference is that this patch changes the grid line width for painting only, but not the actual offset

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Giuliano Colla
Felipe Monteiro de Carvalho ha scritto: Mark, could you point us to how to fix this? (Which is something much better to do rether then pointlessly arguing about this) What exactly is theming support? How does one implement it? Are there functions in Gtk to retrive the colors for the theme, and

Re: [lazarus] License clarification for lazarus plug-ins

2007-04-17 Thread Vincent Snijders
Marco van de Voort schreef: On Fri, Mar 30, 2007 at 06:38:00PM +0200, Micha Nelissen wrote: If you haven't noticed yet, we have put an entry in the FAQ on the wiki clarifying the license requirements for plug-ins in combination with Lazarus, as there has been some confusion in this matter.

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Lord Satan
On Tue, 17 Apr 2007 03:09:11 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: Lord Satan ha scritto:On Mon, 16 Apr 2007 23:58:30 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Forcing all GTK applications to always use the theming colors is *not* always the developers desire. In

Re: [lazarus] GTK2 and ComboBox problem - correction

2007-04-17 Thread pineal
On Tuesday 17 April 2007 03:27, Andrew Haines wrote: ok, I've just now added a bit of code about the combobox in gtk2. can you update to at least revision 10957 and see if it has fixed the problem? Andrew updated so the revision no for 'trunk' shows as 10957 according to kdesvn. rebuilt

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Giuliano Colla
Lord Satan ha scritto: On Tue, 17 Apr 2007 03:09:11 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: Lord Satan ha scritto:On Mon, 16 Apr 2007 23:58:30 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Forcing all GTK applications to always use the theming colors is *not* always the developers

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Graeme Geldenhuys
On 4/17/07, Giuliano Colla [EMAIL PROTECTED] wrote: Back to business. I've got exactly the same problem, but for me, with GTK1, changing the TEdit background color works just fine. Doesn't it work for you? Hey, progress!!! It didn't work 2 weeks ago. :-) It's still not 100% though. At

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Graeme Geldenhuys
On 4/17/07, Giuliano Colla [EMAIL PROTECTED] wrote: You're right. If a feature isn't there, we do our best trying to provide it. Then it's up to developers to decide if they want override user theme or not. However, just to clarify my point of view, I've got a couple of examples.

Re: [lazarus] License clarification for lazarus plug-ins

2007-04-17 Thread Marco van de Voort
On Tue, Apr 17, 2007 at 01:03:01PM +0200, Vincent Snijders wrote: non-GPL-compatible plugins included statically; however, we do not see this as a severe limitation, since recompiling Lazarus is easy. /quote So, will you go after violations like the GLScene integrated lazarus? In what way

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Graeme Geldenhuys
On 4/17/07, Giuliano Colla [EMAIL PROTECTED] wrote: I can change the background to a select few colors, but can't set it back to the default clWindow. See attached screenshot. The top edit changed color when I blanked the field, but as soon as I entered data, it should have changed to

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: On 4/17/07, Giuliano Colla [EMAIL PROTECTED] wrote: Back to business. I've got exactly the same problem, but for me, with GTK1, changing the TEdit background color works just fine. Doesn't it work for you? Hey, progress!!! It didn't work 2 weeks ago. :-)

Re: [lazarus] TCustomGrid and GridLineWidth property

2007-04-17 Thread Jesus Reyes
--- Graeme Geldenhuys [EMAIL PROTECTED] escribió: On 4/17/07, Jesús Reyes A. [EMAIL PROTECTED] wrote: Yes, is not yet implemented, the true is that I never found a use for that, maybe you found it? How else do you hide the grid lines? Some ways: 1) grid.Options := grid.Options

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: [...] PS 'Lord Satan': As per your rules that we may not override themes, how would you envision I notify my users what is required fields in a data entry screen at Form Show (see my previous thread for a longer explanation). An then notify them what is invalid or

[lazarus] Bitmap troubles on Win9x

2007-04-17 Thread Steven Graham
Hi I have a program that I've made with lazaus which in the main form is a Toolbar and a some menus, the menu items and toolbar buttons are all setup with actions in an action list. The trouble I'm finding is that if they have bitmaps when starting the program on Windows 95 and 98 I get:

Re: [lazarus] [patch] - grids.pas (GridLineWidth)

2007-04-17 Thread Jesus Reyes
--- Graeme Geldenhuys [EMAIL PROTECTED] escribió: Hi Attached is a patch for the TCustomGrid.GridLineWidth property. Please review before applying this patch. Looks ok, the only problem I see is that, currently the property default for GridLineWidth is set to 1, but as grid doesn't set

RE: [lazarus] [patch] - grids.pas (GridLineWidth)

2007-04-17 Thread Hess, Philip J
Wouldn't it make more sense to have the GridLineWidth property default to 1 and show 1 in Object Inspector so it's Delphi compatible? I.e., GridLineWidth is not saved to form file unless a value other than 1 is entered. -Original Message- From: Jesus Reyes [mailto:[EMAIL PROTECTED]

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-17 Thread Micha Nelissen
Graeme Geldenhuys wrote: Well again, our porting of the Delphi/Kylix application took a turn for the worse. I can send a few screenshots to show what it looks like under Linux (not even close to what it should look like). Under Windows it seems to be okay (for the most part). Putting some

RE: [lazarus] [patch] - grids.pas (GridLineWidth)

2007-04-17 Thread Jesus Reyes
--- Hess, Philip J [EMAIL PROTECTED] escribió: Wouldn't it make more sense to have the GridLineWidth property default to 1 and show 1 in Object Inspector so it's Delphi compatible? I.e., GridLineWidth is not saved to form file unless a value other than 1 is entered. Yes, it should work

[lazarus] Lazarus gtk2 on windows

2007-04-17 Thread Andrew Haines
Hi, As of svn revision 10963 the gtk2 interface is working in windows. There are bugs. And also some more bugs. So for all you windowsers who would like to hack at the gtk2 interface feel free :) here's a pic of lazarus running on windows compiled for the gtk2 interface:

Re: [lazarus] TCustomGrid not the same as Delphi

2007-04-17 Thread Jesús Reyes A.
- Original Message - From: Graeme Geldenhuys [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Tuesday, April 17, 2007 1:22 AM Subject: Re: [lazarus] TCustomGrid not the same as Delphi On 4/17/07, Jesús Reyes A. [EMAIL PROTECTED] wrote: In Delphi's TCustomGrid the DrawCell()

[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 Christian Ulrich
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 with them and fpc/lazarus...

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 with

RE: [lazarus] [patch] - grids.pas (GridLineWidth)

2007-04-17 Thread Hess, Philip J
Yes, that makes sense now. I had looked at one of my .lfm's that had been auto-converted from Delphi and it didn't have a GridLineWidth property. I see now that .lfm's saved by Laz do have a 0 value for GridLineWidth. -Original Message- From: Jesus Reyes [mailto:[EMAIL PROTECTED]

Re: [lazarus] Plug-in functionality

2007-04-17 Thread Felipe Monteiro de Carvalho
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 for example building the full fpc