BUG: Disabled ListBox items can be accessed by using the keyboard in Visual FoxPro for Windows (156737)
The information in this article applies to:
- Microsoft Visual FoxPro 9.0 Professional Edition
- Microsoft Visual FoxPro 8.0
- Microsoft Visual FoxPro for Windows 7.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows, Professional Edition 3.0b
- Microsoft Visual FoxPro for Windows, Professional Edition 3.0
This article was previously published under Q156737 SYMPTOMSAn item in a ListBox control can be disabled by placing a backslash (\)
before the item. The item appears disabled and cannot be selected by
using the mouse.
The item can still be accessed by using the keyboard.WORKAROUNDTo work around this issue, add items to the ListBox control by using the AddItem() method. Put both a backslash (\) and a closing bracket (]) in front of the items. However, this workaround applies only to items that are added by using the AddItem() method.STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 2/7/2005 |
---|
Keywords: | kbCodeSnippet kbOOP kbCtrl kbBug KB156737 |
---|
|