Re: Cut/copy/paste and undo/redo frameworks

From: Robby (edmund_at_not.my.email.com)
Date: 12/01/04

  • Next message: Johan Slottner: "Continuing a task in an MDI application"
    Date: Thu, 2 Dec 2004 11:34:53 +1300
    
    

    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

    "Albert" <albert@elosoft.biz.NOSPAM> wrote in message
    news:e9dY3N71EHA.4028@TK2MSFTNGP15.phx.gbl...
    > 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....
    >
    >
    > "Robby" <edmund@not.my.email.com> wrote in message
    > news:u6tJwdg1EHA.3468@TK2MSFTNGP14.phx.gbl...
    >>
    >> Have you looked at the Clipboard object?
    >>
    >> --Robby
    >>
    >> "Albert" <albert@elosoft.biz.NOSPAM> wrote in message
    >> news:%23EbhXGU0EHA.1408@TK2MSFTNGP10.phx.gbl...
    >>> 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
    >>
    >>
    >
    >


  • Next message: Johan Slottner: "Continuing a task in an MDI application"

    Relevant Pages

    • Re: Help with Custom Format & Clipboard
      ... I believe if your structure/class is serializable, the DataObject class will support placing it on the clipboard. ... The Bitmap class is serilizable, so if your struct/class is serializable, then you can just add it as one item. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Search and Replace parameter too long?
      ... clipboard works for Replace, I don't know how, or if, you could use the ... clipboard for both search and replace strings longer than 254 ... txtReplace = oSourceDoc.Paragraphs.Range.Text ... control the loop without the added value Esc. ...
      (microsoft.public.word.vba.general)
    • Re: put a string on to the clipboard
      ... > Yes yes its me again, i want to copy a string onto the clipboard so i ... > dont have to select and copy. ... important informaiton stored on the user's clipboard. ... mjwilco at yahoo dot com ...
      (alt.php)
    • Re: put a string on to the clipboard
      ... Javascript can copy text to the clipboard. ... i want to copy a string onto the clipboard so i dont ...
      (alt.php)
    • RE: Copying cell text to clipboard (using Putinclipboard)
      ... to the clipboard in order for them to work with it elsewhere. ... The problem occurs if the cell content is quite long. ... strings ranging in length from 20 to 2090 characters. ...
      (microsoft.public.excel.programming)