Re: [lazarus] DragDrop

2006-01-06 Thread dannym
Hi, Am Donnerstag, den 05.01.2006, 21:36 + schrieb Colin Western: dannym wrote: Hi, Am Dienstag, den 03.01.2006, 22:17 + schrieb C Western: You might be interested in the attached fragment, which I posted to the mailing list a while back. It simulates the windows file Drag

Re: [lazarus] DragDrop

2006-01-05 Thread dannym
Hi, Am Dienstag, den 03.01.2006, 22:17 + schrieb C Western: You might be interested in the attached fragment, which I posted to the mailing list a while back. It simulates the windows file Drag and drop calls using gtk calls. I would supply a patch to put it in the LCL, only I am not

Re: [lazarus] Look and feel of Lazarus

2006-01-02 Thread dannym
Hi, [...] As a side note, see gtk_dialog_set_alternative_button_order for how gtk solved that issue, by allowing two different button orders to be specified by the designer and the right one being selected depending on the operating system. Does that mean I can switch button order in

Re: [lazarus] Pascal and CGI-bin

2006-01-02 Thread dannym
Hi, Am Freitag, den 30.12.2005, 03:20 -0500 schrieb Lv: I just tried it and it works very well! Running on my web server already. Now if only it would be possible to compile a Lazarus application to make the GUI accessible through a browser. (I know it should rather be done with java,

Re: [lazarus] Pascal and CGI-bin

2006-01-02 Thread dannym
Hi, Am Montag, den 02.01.2006, 20:06 +0100 schrieb dannym: Hi, Am Freitag, den 30.12.2005, 03:20 -0500 schrieb Lv: I just tried it and it works very well! Running on my web server already. Now if only it would be possible to compile a Lazarus application to make the GUI

Re: [lazarus] DragDrop

2006-01-02 Thread dannym
Hi, Am Montag, den 02.01.2006, 20:43 +0100 schrieb Mattias Gaertner: On Mon, 02 Jan 2006 20:20:12 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Montag, den 02.01.2006, 19:48 +0100 schrieb Christian U.: Seems taht nobody have used something bevore... We don___t need LM_DROPFILES

Re: [lazarus] Pascal and CGI-bin

2006-01-02 Thread dannym
Hi, Am Montag, den 02.01.2006, 13:31 -0700 schrieb L505: [...] I actually agree with fast prototyping, such as visual development sometimes - but HTML isn't capable enough and not suited for the pixel based form style development. It is not suited for that by design, yes. It isn't capable

Re: [lazarus] Look and feel of Lazarus

2006-01-02 Thread dannym
Hi, Am Montag, den 02.01.2006, 22:29 +0100 schrieb Christian Iversen: On Monday 02 January 2006 19:18, dannym wrote: Hi, [...] As a side note, see gtk_dialog_set_alternative_button_order for how gtk solved that issue, by allowing two different button orders to be specified

Re: [lazarus] changing color on TPanel works only one way

2006-01-02 Thread dannym
Hi, Am Montag, den 02.01.2006, 22:18 +0100 schrieb Marc Santhoff: Hi, I'm setting the 'color' property of a TPanel and it is getting pretty green. If set back to 'clBtnFace' nothing happens. procedure TKeyboardForm.rgTestTypeClick(Sender: TObject); begin if

Re: [lazarus] Help with DLL (using pchar, etc.)

2006-01-01 Thread dannym
Hi, Am Freitag, den 30.12.2005, 18:07 -0500 schrieb Alexandre Leclerc: On 12/30/05, L505 [EMAIL PROTECTED] wrote: * how can you allocate memory for a function result, on the calling side, and then free it on the calling side too? The function result is not a parameter that can be

Re: [lazarus] Look and feel of Lazarus

2005-12-30 Thread dannym
Hi, Am Freitag, den 30.12.2005, 10:09 -0500 schrieb Tony Maro: Marco van de Voort wrote: I have prepared some screenshots of a concept look and feel for Lazarus. Please check it out at: http://wiki.lazarus.freepascal.org/index.php/GUI_design#Look_and_Feel Feel free to comment, but

Re: [lazarus] Re: Patch for msgview.pp (enhancement)

2005-12-27 Thread dannym
Hi, Am Dienstag, den 27.12.2005, 23:23 +0800 schrieb Funky Beast: Marc Weustink wrote: Graeme Geldenhuys wrote: Hi, Attached is a patch to enable color support in the Messages Window. It now makes it much easier to find your $Hint and $Note messages in a lengthy compile.

Re: [lazarus] How c++ bindings work

2005-12-16 Thread dannym
Hi, Am Freitag, den 16.12.2005, 18:34 -0200 schrieb Felipe Monteiro de Carvalho: Hi, I'm trying to understand the c++ bindings for KDE API to create a systray icon on KDE. I find some .h files defining some classes, but no The systray icon stuff is standardized, but (older?) kde deviates

Re: [lazarus] How c++ bindings work

2005-12-16 Thread dannym
Hi, [...] hmm, just to get you a head start: Most of the properties mentioned in the standard are those of a normal window, so you should just start with a normal window (TForm...) and work your way from there... (_NET_WM_NAME, WM_CLASS and _NET_WM_ICON are normal window stuff, so no need to

Re: [lazarus] Re: About PSQL (Sqldb package) Components

2005-12-13 Thread dannym
Hi, Am Dienstag, den 13.12.2005, 13:36 +0100 schrieb Joost van der Sluis: Hi, thanks for your extensive answer, Am Dienstag, den 06.12.2005, 14:15 +0100 schrieb Joost van der Sluis: By the way, I write the data using the following code in the event after post: begin

Re: [lazarus] behavior of project dialog forms

2005-12-13 Thread dannym
Hi, Am Sonntag, den 11.12.2005, 20:59 +0100 schrieb barko: The project dialog forms are resizable (lazarus on linux, gtk, latest from svn). This is not a good behavior, i think :) I think having windows resizable in general is good behaviour :) (that is not to say that they shouldn't default

Re: [lazarus] Re: About PSQL (Sqldb package) Components

2005-12-12 Thread dannym
Hi, Am Dienstag, den 06.12.2005, 14:15 +0100 schrieb Joost van der Sluis: By the way, I write the data using the following code in the event after post: begin SQLQuery1.ApplyUpdates; SQLTransaction1.Commit; //In this moment, after commit, the query is closed !!!?

Re: [lazarus] Synedit error-Bit more

2005-11-15 Thread dannym
Hi, Am Dienstag, den 15.11.2005, 11:09 +0300 schrieb Timothy Ha: Why don't we try Ord() function? Ord() doesn't work for sets. Ord is for Ordinal, which implies position. There is no position in sets. cheers, Danny _ To

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] 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] 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] 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

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

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

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

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] OnWindowStateChange event

2005-11-05 Thread dannym
Hi, Am Samstag, den 05.11.2005, 17:03 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 16:52:05 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 14:08 +0100 schrieb Mattias Gaertner: On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote

[lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-05 Thread 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 some ridiculously complicated dependency of the default of ShowInTaskbar on MainForm. Can't get it to work. The symptoms after the patch are: - no

Re: [lazarus] Re: Adding icon to Win API program

2005-11-05 Thread dannym
hi, Am Samstag, den 05.11.2005, 17:26 -0200 schrieb Felipe Monteiro de Carvalho: Razvan Adrian Bogdan wrote: No, it works with any res file wich is compiled correctly, i only had a small issue with some language setting due to the fact that delphi's res compiler and windres were slightly

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

2005-11-05 Thread dannym
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 some ridiculously complicated dependency of the default of ShowInTaskbar

Re: [lazarus] icon setting

2005-11-05 Thread dannym
hi, Am Sonntag, den 06.11.2005, 00:57 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:24:47 +0100 dannym [EMAIL PROTECTED] wrote: Hi, setting an icon of a form and then pressing F9 causes exception: Works here under metacity. Can you give more details? What resolution do you

Re: [lazarus] icon setting

2005-11-05 Thread dannym
Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner: Can you add DebugLn('TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... ',RawImageDescriptionAsString(@NewRawImage.Description)); TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... Format=ricfRGBA

[lazarus] make lazarus use gtk 2.6 filechooser

2005-11-05 Thread dannym
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: voidgtk_file_chooser_set_do_overwrite_confirmation

[lazarus] OnWindowStateChange event

2005-11-04 Thread dannym
Hi, since it's missing, I suggest adding a OnWindowStateChange event to TForm (fired when the window manager changed the state of the window, i.e. iconify/restore/maximize/..) I can implement the gtk side (it's just g_signal_connect 'window-state-event' ) However, in delphi there is

Re: [lazarus] OnWindowStateChange event

2005-11-04 Thread dannym
, not OnWindowStateChanged :)) cheers, Danny Am Freitag, den 04.11.2005, 18:52 +0100 schrieb Mattias Gaertner: On Fri, 04 Nov 2005 18:41:23 +0100 dannym [EMAIL PROTECTED] wrote: Hi, since it's missing, I suggest adding a OnWindowStateChange event to TForm (fired when the window manager

Re: [lazarus] Some questions about TForm.Height

2005-10-20 Thread dannym
Hi, Am Donnerstag, den 20.10.2005, 22:49 +0400 schrieb Alex Smirnov: Hi, friends! For Win32 I can use GetSystemMetrics in this case. So in Windows it works. But in Linux (Gnome/GTK) GetSystemMetrics is seems to be not realized jet - this function presents, code can be compiled, but

Re: [lazarus] Maximize form without border

2005-09-19 Thread dannym
Hi, Am Montag, den 19.09.2005, 08:53 +0200 schrieb Bogusław Brandys: Hello, In windows (Windows XP Home) Lazarus I can put : Form1.BorderStyle := bsNone; Form1.WindowState := wsMaximized; and form is pretty maximized using all screen. How to get the same under GTK2 ? It should be

Re: [lazarus] Application.OnIdle

2005-09-12 Thread dannym
Hi, Am Montag, den 12.09.2005, 10:45 +0200 schrieb Bogusław Brandys: Hi, I want something like password protect application when there is no input or mouse move for a selected period of time.How and if I can use Application.OnIdle OnEndIdle for this ? I know that under Win32 there is API

Re: [lazarus] Re: Menu icons in KDE / Gnome

2005-09-09 Thread dannym
Hi, Am Donnerstag, den 08.09.2005, 18:54 -0300 schrieb Felipe Monteiro de Carvalho: On 9/8/05, Tony Maro [EMAIL PROTECTED] wrote: Tony Pelton wrote: Oh, I did miss this little documentation tidbit: If $XDG_CONFIG_DIRS is either not set or empty,

Re: [lazarus] Re: Menu icons in KDE / Gnome

2005-09-06 Thread dannym
Hi, Am Dienstag, den 06.09.2005, 10:34 -0300 schrieb Felipe Monteiro de Carvalho: Tony Maro wrote: I can throw an icon on the desktop pretty darn easy, but the menu's still escape me and the directions I've seen online so far are cryptic at best. -Tony How do you put the desktop