[Lazarus] Generalized DragDrop

2011-01-22 Thread Hans-Peter Diettrich
In fpGUI Graeme implemented an interface for inter-process dragging. It would be nice to have a similar interace in the LCL, that extends the current intra-process dragging. Why that? - A more general approach could solve the known problem with docking forms, by including dragging by the

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Michael Van Canneyt
On Sat, 22 Jan 2011, Hans-Peter Diettrich wrote: In fpGUI Graeme implemented an interface for inter-process dragging. It would be nice to have a similar interace in the LCL, that extends the current intra-process dragging. While it is correct that Graeme did this, I still have not seen in

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread zeljko
On Saturday 22 of January 2011 16:04:34 Michael Van Canneyt wrote: On Sat, 22 Jan 2011, Hans-Peter Diettrich wrote: In fpGUI Graeme implemented an interface for inter-process dragging. It would be nice to have a similar interace in the LCL, that extends the current intra-process dragging.

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Michael Van Canneyt
On Sat, 22 Jan 2011, zeljko wrote: I'm all for it. Although I'm not sure that this can be implemented in a cross-platform way. On Windows, the intra-app drag/drop is handled using OLE/DDE. On Linux, there is no such thing, and I think it depends on the used desktop software (KDE vs Gnome).

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread zeljko
On Saturday 22 of January 2011 17:27:43 Michael Van Canneyt wrote: On Sat, 22 Jan 2011, zeljko wrote: I'm all for it. Although I'm not sure that this can be implemented in a cross-platform way. On Windows, the intra-app drag/drop is handled using OLE/DDE. On Linux, there is no such

Re: [Lazarus] Test the Lazarus fixes_0_9_30 branch

2011-01-22 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Vincent Snijders wrote: Hi, Yesterday Lazarus trunk was branched to http://svn.freepascal.org/svn/lazarus/branches/fixes_0_9_30/. From this branch the next Lazarus release 0.9.30 will be released. Build and basic operation OK for x86, SPARC

[Lazarus] fixes_0_9_30 on Windows NT4 does not build

2011-01-22 Thread Mark Morgan Lloyd
I've installed the binary of FPC 2.4.2 on Windows 2000 and Windows NT4 without problems. I've done an svn export of Lazarus and this builds and runs fine on W2K, but on NT I get Compiling projectwizarddlg.pas Compiling idecmdline.pas Compiling resource ..\units\i386-win32\lazarus.or Error:

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Graeme Geldenhuys
On 22 January 2011 17:04, Michael Van Canneyt michael@*** wrote: On Sat, 22 Jan 2011, Hans-Peter Diettrich wrote: In fpGUI Graeme implemented an interface for inter-process dragging. It would be nice to have a similar interace in the LCL, that extends the current intra-process dragging.

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Graeme Geldenhuys
On 22 January 2011 18:27, Michael Van Canneyt michael@fre* wrote: I know about the File DND, but as far as I know, it's only on form level, it could be extended to any control (TFileNameEdit jumps to mind). I was just about to mention that. File DND in Lazarus is very limited, and when I

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-22 Thread Graeme Geldenhuys
On 21 January 2011 18:30, michael.vancanneyt@* wrote: work currently. That doesn't mean we're not open to fixing it, and enhance SQLDB in the process. Is SqlDB the correct code to add Firebird service features? By service features, I mean specific features of Firebird like user management

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-22 Thread Bo Berglund
On Fri, 21 Jan 2011 17:30:57 +0100 (CET), michael.vancann...@wisa.be wrote: While I will not comment on the general validity of your statement, for SQLDB it is certainly not correct. SQLDB was developed exactly to serve a wide range of programmer needs. Of course, the engines we use ourselves

Re: [Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

2011-01-22 Thread Mark Morgan Lloyd
Bo Berglund wrote: query.SQL.Text := 'EXEC SelectDongleData @SerialNo=2485'; Having just spent a bit of time with Google and MS docs: is EXEC standard? What happens if you use CALL or EXECUTE? What happens if you use positional rather than named parameters? -- Mark Morgan Lloyd

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: In fpGUI Graeme implemented an interface for inter-process dragging. It would be nice to have a similar interace in the LCL, that extends the current intra-process dragging. While it is correct that Graeme did this, I still have not seen in action. i.e. I have

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: I know about the File DND, but as far as I know, it's only on form level, it could be extended to any control (TFileNameEdit jumps to mind). Windows platform requires a HWND for a file DND, that can be supplied by any TWinControl. Other platforms can have

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: That's the beauty of that design internal component-to-component or external app-to-app DND is handled exactly the same - from the developers perspective. That was the whole point of that implementation - so you application is single source, no matter the platform

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread dmitry boyarintsev
On Sat, Jan 22, 2011 at 10:04 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Windows, the intra-app drag/drop is handled using OLE/DDE. On Linux, there is no such thing, and I think it depends on the used desktop software (KDE vs Gnome). I don't know how it is done in Mac. In Carbon