|
-
May 6th, 2013, 07:13 AM
#1
Thread Starter
Fanatic Member
Drag a Listview Item Onto a panel
How do I drag the text from a listview sub Item and then create a label on a panel in the exact location
that the user performs the drop, the label should contain the text from the listview sub item
-
May 6th, 2013, 02:57 PM
#2
Re: Drag a Listview Item Onto a panel
how far have you got so far?
post your code...
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
May 7th, 2013, 01:10 AM
#3
Thread Starter
Fanatic Member
Re: Drag a Listview Item Onto a panel
Hi .Paul i have faked it :
Using the mouse down event on the list view to change the cursor on the List View the form and the panel to Cursors.NoMove2D
When the mouse up event on the panel triggers i have taken the cursor position and created a label on the panel at that position
The label is then populated with the text of the selected item in the list view and the cursors of all the controls are returned to their
original values.
Although it works, it is not the most elegant way of doing things.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|