jadams0173
Technical User
- Feb 18, 2005
- 1,210
Using Vb 2005.
I have a listview that I allow the user to drag and drop items up and down the list. I need to put some rules around how far certain items can be dragged up or down the listivew based on a column in the listview items that it is being dragged over.
An example would be something like if a job (listview item) was released then
1. another job that is scheduled could not be put in front of it.
2. the released job could not be moved once it was started. (i would know this by a column in the listview).
I'm not really sure whether to try to implement such rules when the user drops the item or as the item is being dragged up or down the listview.
Any input is welcome.
I have a listview that I allow the user to drag and drop items up and down the list. I need to put some rules around how far certain items can be dragged up or down the listivew based on a column in the listview items that it is being dragged over.
An example would be something like if a job (listview item) was released then
1. another job that is scheduled could not be put in front of it.
2. the released job could not be moved once it was started. (i would know this by a column in the listview).
I'm not really sure whether to try to implement such rules when the user drops the item or as the item is being dragged up or down the listview.
Any input is welcome.