Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Hans-Peter Diettrich
Bernd schrieb: Using the platform API doesn't require any widgetset specific code, no need for adapations to new widgetsets. It would require platform specific code instead. How is this better? The implementation can become part of the RTL, where all platform specific code is implemented.

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 21 August 2012 12:41, Hans-Peter Diettrich wrote: They *have* to use the platform protocols, so why should dragging files or other objects run through an widgetset instead of using the API directly? I have to admit that Bernd's implementation does seem strange -

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Hans-Peter Diettrich
Bernd schrieb: 2012/8/21 Graeme Geldenhuys : On 21 August 2012 12:41, Hans-Peter Diettrich wrote: They *have* to use the platform protocols, so why should dragging files or other objects run through an widgetset instead of using the API directly? I have to admit that Bernd's implementation do

[Lazarus] TSQLDBLibraryLoader committed for SQLDB

2012-08-21 Thread Michael Van Canneyt
Hi, After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. araminta: >./loadlibdemo list Available connection types: Firebird, Default library name: libfbclient.so.2.5 MySQL 4.0, Default library name: libm

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Bernd
Intermediate result of first experiments on windows. May the next person who googles for this rare problem (everybody knows how to receive files but only few people have ever implemented an IDataObject themselves and then posted the results) find this post in which it is all condensed into only 20

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Bernd
2012/8/21 Hans-Peter Diettrich : > They *have* to use the platform protocols, so why should dragging files or > other objects run through an widgetset instead of using the API directly? Because when using GTK2 for the GUI I usually do all GUI related things through GTK and not by accessing the na

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Bernd
2012/8/21 Graeme Geldenhuys : > On 21 August 2012 12:41, Hans-Peter Diettrich wrote: >> They *have* to use the platform protocols, so why should dragging files or >> other objects run through an widgetset instead of using the API directly? > > I have to admit that Bernd's implementation does seem

[Lazarus] StringGrid: Fix cells that are editable?

2012-08-21 Thread Jürgen Hestermann
In a StringGrid is it possible to fix cells but still allow them to be editable (as in Excel)? For example, when I set FixedCols and FixedRows to 2 then I cannot edit cells[0,0] or cells[1,1] anymore. When set to 0 then rows and columns that should permanently be visible move out of view when m

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Graeme Geldenhuys
On 21 August 2012 12:41, Hans-Peter Diettrich wrote: > They *have* to use the platform protocols, so why should dragging files or > other objects run through an widgetset instead of using the API directly? I have to admit that Bernd's implementation does seem strange - now with multiple DND imple

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Hans-Peter Diettrich
Bernd schrieb: I'm curious: what makes you believe that such popular and mature toolkits like GTK2 (or Qt4) would not be able to use the correct underlying platform protocols when implementing such elementary things as copy/paste/drag/drop? They *have* to use the platform protocols, so why sho

[Lazarus] Delphi post-XE3 roadmap

2012-08-21 Thread Howard Page-Clark
If you have not seen it, users of Delphi XE2 may be interested to read Delphi Product Manager JT's blog about what Embarcadero are working on for native Android and iOS development (which won't be in the forthcoming XE3 release - it's all further ahead than that), dropping FPC in favour of anot

Re: [Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

2012-08-21 Thread Bernd
2012/8/21 Hans-Peter Diettrich : > Bernd schrieb: > > >> The widgetset *is* the platform! (at least as far as file dragging is >> concerned, no need to access any other API) > > > This is not correct, because dragging is not restricted to work only between > controls of the same widgetset. I'm cur