Results 1 to 2 of 2

Thread: drag and drop shortcuts

  1. #1

    Thread Starter
    Addicted Member señorbadger's Avatar
    Join Date
    Oct 2003
    Location
    Mud pools of wellingborough
    Posts
    193

    drag and drop shortcuts

    Hi im trying to make a sidebar that people can drap and drop shortcuts onto it
    and it will display the shortcuts icon and when clicked take them to where it should do

    eg:
    someone drags the IE icon on to it
    it would display the IE icon on the bar and when clicked take them there

    I hope you all understand what i mean

    Sam Lad

  2. #2
    Hyperactive Member Libero's Avatar
    Join Date
    Jun 2000
    Location
    Swedish viking
    Posts
    460
    To give you a complete answer is hard because i dont know what kind of toolbar you use. The only thing i can show is how to handle drag&drop.

    Set a textbox properties to: Dragmode=Manual and put this code on your form.

    VB Code:
    1. Private Sub Text1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
    2. Text1.Text = Data.Files.Item(1)
    3. End Sub

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