Results 1 to 4 of 4

Thread: Drag and Drop

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2
    I need some help!! I would like to drag an item from the list box to a text box.
    cbrosemer

  2. #2
    Lively Member
    Join Date
    Oct 2000
    Location
    Chicago
    Posts
    97

    Here it is......

    Hi,
    You can drag an item from the list and drop it in text by setting the following properties

    1. Set Listbox's OLEDragMode to Automatic

    2. Set Textbox's OLEDropMode to Automatic

    that's it!!! and you can start dragging and dropping items

    Happy Programming
    Anil

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2
    I have those set. Sometimes the text will drop, and other times it won't. Seems I have to click on the list box a couple of times in order to get the drag icon. Any suggestion to what the problem can be? Thanks
    cbrosemer

  4. #4
    Lively Member
    Join Date
    Oct 2000
    Location
    Chicago
    Posts
    97
    No there is no need to click on the listbox for couple of time.Only thing is that you have to drag it properly into the text box and see while dragging you have to see the icon change to +.You you find this icon while dragging then you can be sure that it is dragging otherwise you will see a circle icon.
    I have tried this several times and found to be working good
    Anil

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