Drag&Drop


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Drag&Drop

  1. #1
    tg Guest

    Drag&Drop


    Can anybody give me a hint on how to perform a Drag&Drop on several text
    boxes at the time.

    Thanks

  2. #2
    Steve Hoag Guest

    Re: Drag&Drop

    Look at the help topic "Drag and Drop Changes in Visual Basic .NET" for an
    example of dragging and dropping text.

    I'm not sure exactly what you're asking for. If you want the drag operation
    to drag the text from several textboxes, just add them together in the
    DoDragDrop method:

    TextBox1.DoDragDrop(TextBox1.Text & "," & TextBox2.Text,
    DragDropEffects.Copy)

    KLikewise, if you want to drop the text to several textboxes, you should be
    able to do that in the DragDrop event.
    --
    hth,
    Steve Hoag (the V-Bee)
    Microsoft Corp.
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "tg" <terje@erols.com> wrote in message news:3cbf3ad6$1@10.1.10.29...
    >
    > Can anybody give me a hint on how to perform a Drag&Drop on several text
    > boxes at the time.
    >
    > Thanks




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center