PRB: Arrow Key Inconsistency in List Boxes (141908)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q141908 SYMPTOMS
After creating a list box, you notice that its behavior is inconsistent
when scrolling through the records by using the arrow keys.
WORKAROUND
Place 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;
(this.listindex=1 and nKeyCode=5)
nodefault
ENDIF
STATUS
Microsoft is researching this behavior and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB141908 |
---|
|