Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop from a list box
Message
From
23/06/1999 17:13:35
 
 
To
23/06/1999 09:28:50
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00232678
Message ID:
00233218
Views:
35
If you want to change the look of the icon used for dragging, you can use a different ico file specified with DragIcon. I'm not sure what you mean by define a custom cursor.

>That would work. But it still drags the outline of the entire list box into the new list box. Do I need to define a custom cursor?
>
>>>I would like to be able to drag a listitem from a list box and drop it into another listbox. My problem is that the drag and drop stuff looks like it wants to affect the entire listbox, not just the list item. How can I just drag just the selected item(s) from the source listbox?
>>
>>You use the object reference that the Drop operation gives you to get to the source list's ListIndex or Value property,
>>
>>LPARAMETERS oSource, nXCoord, nYCoord
>>THIS.AddItem(oSource.Value)
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform