PRB: Arrow Key Inconsistency in List BoxesID: Q141908 3.00 3.00b WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSAfter creating a list box, you notice that its behavior is inconsistent when scrolling through the records by using the arrow keys.
WORKAROUNDPlace the following code in List2.Keypress to stop the arrow keys from moving beyond the top and bottom: LPARAMETERS nKeyCode, nShiftAltCtrl if (this.listindex=this.listcount and nKeyCode=24) or; ENDIF
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a form, and place two list boxes (List1 and List2) on it. 2. Populate List1 with more items than are displayable so that the scroll 3. Populate List2 with only a couple of items so that the scrollbar is
4. Scroll through both the list boxes by using the arrow keys.
5. Notice that in the second list box, you can continuously scroll up past Additional reference words: 3.00 3.00b VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes
|
Last Reviewed: January 9, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |