ListView focusing to an Item
- Posted by Antonio Alessi <a.admin at myway.it> May 30, 2006
- 597 views
I have a problem with the List View focusing. Suppose a List of 300 items, with the 18th selected (highlighted). With:
setIndex( MyLV, 122) setFocus( MyLV)
the Item 122 is highlighted, but I cannot focus on it without clicking on again, i.e. the next arrow movement in LV starts from the previously highlighted Item (18), 1 if none and the Item 122 (or more than one) result unselected. How can I set the index and at the same time keep the cursor position to that point of the List? Thanks, Antonio