MoverBars
This property determines whether or not a list has a little button at the side of each item that lets you slide the items around and change the list's order. Usage | lstList.MoverBars = lHasMoverButtons lHasMoverButtons = lstList.MoverBars |
![]() | Unfortunately, they broke it. In VFP 5 and VFP 6, when you move items in a multi-select list, the highlight stays in the same position rather than moving with the items. That is, you have the items with the same set of indexes highlighted, rather than the items with the same ItemIDs. This also means that ListIndex doesn't change when you move a highlighted item in a multi-select list. It's still broken in VFP 7, but differently. In that version, after you finish moving a highlighted bar, it does get highlighted. Unfortunately, so does the bar that now occupies its former location. ListIndex is also correct in this case—it points to the newly moved bar. Closer—maybe in VFP 8, they'll finally get it right. |
Example | frmMyForm.lstSomeList.MoverBars = .T. |
See Also | InteractiveChange, List Property, ListBox, ListIndex |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.