Op 2011-01-23 22:09, Hans-Peter Diettrich het geskryf:
Either different applications have to agree about
exchangable data formats,
What's wrong with that? That is exactly what *all* DND implementation
do! The Source of the DND action supplies a list of data types they
support, the target goes
On Sun, 23 Jan 2011, Hans-Peter Diettrich wrote:
Michael Van Canneyt schrieb:
i.e. I have used the application-specific DnD, but I wouldn't know how to
handle the intra-app DnD.
Simply start the demo app twice, then drag...
I was thinking about something non-trivial, of course.
Please
Op 2011-01-24 10:32, michael.vancann...@wisa.be het geskryf:
Drop a piece of text from wordpad on a TMemo. The text should be
inserted at the drop point.
From the discussion, I assume you are still referring to fpGUI
functionality (or the lack thereof). This is all on my todo list. As I
On Mon, 24 Jan 2011, Graeme Geldenhuys wrote:
Op 2011-01-24 10:32, michael.vancann...@wisa.be het geskryf:
Drop a piece of text from wordpad on a TMemo. The text should be
inserted at the drop point.
From the discussion, I assume you are still referring to fpGUI
functionality (or the
Graeme Geldenhuys schrieb:
whether the
fpGUI approach may be added to the LCL as well, or what should work
differently there.
I'm afraid you will probably get the response that it's not Delphi
compatible. ;)
Of course your approach is not yet Delphi compatible, but it *can* be
merged
Graeme Geldenhuys schrieb:
Op 2011-01-23 22:09, Hans-Peter Diettrich het geskryf:
Either different applications have to agree about
exchangable data formats,
What's wrong with that? That is exactly what *all* DND implementation
do! The Source of the DND action supplies a list of data types
michael.vancann...@wisa.be schrieb:
I was thinking about something non-trivial, of course.
Please specify what non-trivial use you have in mind, and what
results you expect to see in this very early implementation stage
(proof of concetpt).
Drop a piece of text from wordpad on a TMemo.
waldo kitty schrieb:
i'm late to the party (again) but reading this, i had these questions...
1. what GUI environments are there that do not have clipboards?
Dunno. Most will have such a feature, but the implementation can vary.
2. are there any that do /not/ use the clipboard for DnD
On 23 January 2011 02:21, Hans-Peter Diettrich DrDiettrich1@ 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.
I think that Graeme
On 23 January 2011 03:16, Hans-Peter Diettrich DrDiettrich1@a* wrote:
Clipboard formats (CF_...) may be usable on all platforms with a
comparable/compatible clipboard functionality. But what about all the other
platforms?
As I mentioned, fpGUI uses mime-types. More and more platforms are
Your current implementation is restricted to purely textual information,
Simply because I was in a rush to implement the basic workings of DND
for a new project of ours. Textual information was good enough to get
that app's DND going. The DND does does lend itself to other data
types too.
On Sun, 23 Jan 2011, Hans-Peter Diettrich wrote:
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
Graeme Geldenhuys schrieb:
On 23 January 2011 03:16, Hans-Peter Diettrich DrDiettrich1@a* wrote:
Clipboard formats (CF_...) may be usable on all platforms with a
comparable/compatible clipboard functionality. But what about all the other
platforms?
As I mentioned, fpGUI uses mime-types.
Graeme Geldenhuys schrieb:
Just to be clear, the current textual data restriction in fpGUI's DND
is simply because I haven't had time to implement the binary data
support yet. So far, I have only implemented what was needed for our
new project. In the near future, I'll complete the whole DND
Michael Van Canneyt schrieb:
i.e. I have used the application-specific DnD, but I wouldn't know
how to handle the intra-app DnD.
Simply start the demo app twice, then drag...
I was thinking about something non-trivial, of course.
Please specify what non-trivial use you have in mind, and
On 1/22/2011 20:16, Hans-Peter Diettrich wrote:
Graeme Geldenhuys schrieb:
[...]
I not sure if I understand the original statement, but in fpGUI I use
the mime types to register the data that must be transfered via DND.
Under Windows, I also register common mime-types that have easy
mappings
Op 2011-01-23 22:24, Hans-Peter Diettrich het geskryf:
whether the
fpGUI approach may be added to the LCL as well, or what should work
differently there.
I'm afraid you will probably get the response that it's not Delphi
compatible. ;)
Regards,
- Graeme -
--
fpGUI Toolkit - a
Op 2011-01-23 22:24, Hans-Peter Diettrich het geskryf:
On Windows I'd expect that an fpGUI app accepts everything what notepad
accepts, e.g. drags from Explorer, desktop icons...
On a side note:
I would not test any DND with Notepad, it is useless and can't even
accept selected text drag as
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
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.
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).
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
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.
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
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
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
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
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
28 matches
Mail list logo