Results 1 to 3 of 3

Thread: Drag/Drop

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    Burlington, IA, USA`
    Posts
    77
    Does anyone have coding that will work for dragging info from my form's text boxes, to text boxes on another form(say, a fill in form on various internet registration forms?
    An ass may bray a good long time before he shakes the stars down.
    T.S. Elliot

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    this might work...

    Code:
    'paste this code into form2
    Private Sub Text1_DragDrop(Source As Control, X As Single, Y As Single)
    text1.text = form1.text1.text
    End Sub
    NXSupport - Your one-stop source for computer help

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Just set the OLEDragMode property to 1 - Automatic and the OLEDropMode property to 2 - Automatic. This will do the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width