Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version detection magic I guess (if we want to support gtk2 2.6, that is) Note that gtk 2.8 contains: void

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner: Can you add DebugLn('TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... ',RawImageDescriptionAsString(@NewRawImage.Description));

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread dannym
hi, Am Sonntag, den 06.11.2005, 10:31 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version detection magic I guess

Re: [lazarus] icon setting

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 10:39 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner: Can you add DebugLn('TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread Marc Weustink
Mattias Gaertner wrote: On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version detection magic I guess (if we want to support gtk2 2.6, that is) Note that gtk

Re: [lazarus] Inherited forms

2005-11-06 Thread Colin Western
Mattias Gaertner wrote: On Sat, 05 Nov 2005 18:32:57 + Colin Western [EMAIL PROTECTED] wrote: [...] Is the attached anything like right for forcing the ancestor form to load? It works on the one form I tried... Well, it will work sometimes because of sheer luck: -

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:42:26 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 10:39 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner:

[lazarus] Imagelist

2005-11-06 Thread Colin Western
The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Colin diff -uNr lazarus/ideintf/menuintf.pas /dos/fpc/lazarus.w/ideintf/menuintf.pas --- lazarus/ideintf/menuintf.pas 2005-10-06 22:08:04.0 +0100 +++

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Mattias

Re: [lazarus] icon setting

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 11:15 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 10:42:26 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 10:39 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote:

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 11:10 +0100 schrieb Marc Weustink: Mattias Gaertner wrote: On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version

Re: [lazarus] Imagelist

2005-11-06 Thread Colin Western
Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Thanks, but I am sorry

[lazarus] Lazarus and FPC Wiki Integration

2005-11-06 Thread Felipe Monteiro de Carvalho
Hi, About a week ago there was a discussion named Lazarus and FPC integration on the fpc mailing list. Now I'd like to propose an effective measure to integrate more FPC and Lazarus: Integrate the Wikies. I think this offers the following advantages: - Puts all wiki documentation on one

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sat, 05 Nov 2005 21:21:27 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it as in the attached patch for a quick test. Doesn't work. It has to do with

Re: [lazarus] icon setting

2005-11-06 Thread dannym
patch attached. [...] gdkimage bpp is _bytes_ per pixel. In the lcl it is compared with a value that is _bits_ per pixel. cheers, Danny Index: interfaces/gtk/gtkobject.inc === --- interfaces/gtk/gtkobject.inc (Revision

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:52:57 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 12:01:52 +0100 dannym [EMAIL PROTECTED] wrote: patch attached. [...] gdkimage bpp is _bytes_ per pixel. In the lcl it is compared with a value that is _bits_ per pixel. Because here it is bits per pixel. For example: 32. It seems the bpp meaning vary. We have to

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 12:01 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:21:27 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 12:24:56 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 12:01 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:21:27 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi,

Re: [lazarus] icon setting

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 12:42 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 12:28:11 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 12:22 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 12:01:52 +0100 dannym [EMAIL PROTECTED] wrote:

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 12:49 +0100 schrieb Mattias Gaertner: [...] um, to sum it up, earlier the bug was because of, in chronological order, - the application is started - the form is created - In the TCustomForm.Create, FShowInTaskBar is set according to what MainForm

[lazarus] Ifdef's in a .lpk file

2005-11-06 Thread joost
Hi all, I want to add the TODBCConnection to the SQLDBlaz-package. But to get that to work I need some ifndef fpc2_0_0. But how do I do that in the .lpk? Is that possible? Or can i just add the odbcconn.pp as a dependency, without breaking it for fpc-2.0.0? Joost.

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 14:05 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 12:57:46 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 12:49 +0100 schrieb Mattias Gaertner: [...] um, to sum it up, earlier the bug was because of, in

Re: [lazarus] Ifdef's in a .lpk file

2005-11-06 Thread Mattias Gaertner
On Sun, 6 Nov 2005 14:21:02 +0100 (MET) [EMAIL PROTECTED] wrote: Hi all, I want to add the TODBCConnection to the SQLDBlaz-package. But to get that to work I need some ifndef fpc2_0_0. But how do I do that in the .lpk? Is that possible? Or can i just add the odbcconn.pp as a dependency,

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 14:27:15 +0100 dannym [EMAIL PROTECTED] wrote: [...] When a form is shown modal, all forms are made transient (this works), and for some unknown reason vanish from the taskbar. Huh... only on gtk1 or on gtk2 too ? I never saw that yet... I didn't made gtk2 tests. AFAIK

Re: [lazarus] Lazarus and FPC Wiki Integration

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 08:55:07 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, About a week ago there was a discussion named Lazarus and FPC integration on the fpc mailing list. Now I'd like to propose an effective measure to integrate more FPC and Lazarus: Integrate the

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 10:39 +0100 schrieb dannym: hi, Am Sonntag, den 06.11.2005, 10:31 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread dannym
Hi, [...] Where is the glue located ? :) grep -R -i \$INCLUDE * in interfaces/ doesn't find much, only two occurences in gtk2/gtk2int.pas ... nevermind. It's $I :) attached gtk-filedialog-new.patch, plus two new files: filedialogutils.inc and filedialogutilsh.inc, both to put into

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-06 Thread Tony Pelton
On 11/5/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On linux, be sure to include the 'cthreads' as the first unit in your program's uses clause if you want to use threads. This will install the C thread manager. Note that X is NOT multithreaded, so you must synchronize all output with

[lazarus] New ODBC Connection component for SQLDB

2005-11-06 Thread joost
Hello all, a few of you already noticed that there is a new SQLDB-Connection for ODBC in fpc 2.x.x. This connection is written by Bram Kuijvenhoven who did a great job so now ODBC (v3) van be used easily with FPC. The attached patch enables the TODBCConnection in the Lazarus-package for fpc

Re: [lazarus] Selecting a cell in a StringGrid

2005-11-06 Thread Jesus Reyes
- Original Message - From: jean-marc levecque [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, November 05, 2005 4:02 PM Subject: [lazarus] Selecting a cell in a StringGrid Hi, SelectCell seam to have a strange behaviour. After selecting by clicking a cell, if you move

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-06 Thread Michael Van Canneyt
On Sun, 6 Nov 2005, Tony Pelton wrote: On 11/5/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On linux, be sure to include the 'cthreads' as the first unit in your program's uses clause if you want to use threads. This will install the C thread manager. Note that X is NOT

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Vincent Snijders
dannym wrote: Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it as in the attached patch for a quick test. Doesn't work. It has to do with some ridiculously complicated dependency of the default of ShowInTaskbar on MainForm. Can't get it to work. The symptoms after the

Re: [lazarus] New ODBC Connection component for SQLDB

2005-11-06 Thread Vincent Snijders
[EMAIL PROTECTED] wrote: Hello all, a few of you already noticed that there is a new SQLDB-Connection for ODBC in fpc 2.x.x. This connection is written by Bram Kuijvenhoven who did a great job so now ODBC (v3) van be used easily with FPC. The attached patch enables the TODBCConnection in the

Re: [lazarus] weird SetDashes

2005-11-06 Thread Marc Weustink
dannym wrote: Hi, attached something I keep changing back and forth. Is the current version of the gtk2 freepascal bindings using the one or the other syntax ? If that is the new one, please apply :) If not, uhmm... *confused* :) cheers, Danny

[lazarus] Interprocess Communication

2005-11-06 Thread SteveG
There was talk recently of IPC methods being worked upon for Laz/FPC - (Windows) Does anybody know if this was competed (or could be tried if not) ? Thanks _ To unsubscribe: mail [EMAIL PROTECTED] with