all groups > dotnet distributed apps > november 2004 >
You're in the

dotnet distributed apps

group:

Cut/copy/paste and undo/redo frameworks


Cut/copy/paste and undo/redo frameworks Albert
11/23/2004 10:48:22 AM
dotnet distributed apps:
Hi,
I'm looking for some kind of frameworks that deals with cut/copy/paste and
undo/redu functionality, that can be used in a .NET application. I did some
research in th web but couldn't find something appropriate for a real world
application. Does something like this exists for .NET? If not does something
like this exists at all (for Java, Delphi....)?

Greetings,
Albert

Re: Cut/copy/paste and undo/redo frameworks Robby
11/30/2004 12:34:57 AM

Have you looked at the Clipboard object?

--Robby

[quoted text, click to view]

Re: Cut/copy/paste and undo/redo frameworks Albert
12/1/2004 3:38:50 PM
The Clipboard object offers only very basic functionality for cut/copy and
paste.
I'm looking for a kind of framework that can be used to "easily" implement
the above funcitonality not only for text, but for complex objects like rows
of a DataGrid....


[quoted text, click to view]

Re: Cut/copy/paste and undo/redo frameworks Robby
12/2/2004 11:34:53 AM

You can put any object into the Clipboard not just strings. Take a look at
the associated DataObject class. If you still dont want to use the
Clipboard then you can code your custom cut-copy-paste class using these
objects. This is a very flexible approach. If your not up for designing it
then you will have to search for something similar to buy. I think you
should give it a try.

Robby

[quoted text, click to view]

Re: Cut/copy/paste and undo/redo frameworks Albert
12/2/2004 4:39:51 PM
You're right...you can put any object in the clipboard, but dealing directly
with the clipboard needs a lot of low level code for cut/copy and paste.
As for undo/redo clipboard does not help doing it from scratch needs a lot
of work.
I was looking for some kind of frameworks that simplify both the above
issues, since this is something needed in all real world applications.
Anyway, I think I should start implement somthing myself.

Greetings,
Albert


[quoted text, click to view]

AddThis Social Bookmark Button