Incorrect item displayed when using keys to navigate control.


Id: 12138.15
Type: Bug Bug
Current Status: Resolved


10 Nov 2003 Open Steve McMahon

If you use the Up and Down keys, or shift-tab back into an item, the control calls fEnsureBarVisible. This results in the control see-sawing backwards and forwards between having the item in view and the bar in view, and if the control is too small to show the entire bar, then the selected item may not be visible in the display. Really there should be an EnsureVisible method for an item which checks whether it is in a visible bar and then scrolls as little as possible to display the item.

11 Nov 2003 Resolved Steve McMahon

There is now an EnsureVisible method for items, and the underlying method is used when navigating with the keys through the control.