PRB: Disabled Items in List Box Become Enabled When List Box has Focus and RowSourceType is Not 5-Array
Article ID: 177157
Article Last Modified on 12/11/1999
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q177157
SYMPTOMS
Items disabled in a list box become enabled when the list box receives
focus and the RowSourceType property of the list box is set to anything
other than 5-Array.
CAUSE
This is caused by the refreshing of the list box values from the data
source.
RESOLUTION
Set RowSourceType for the list box to 5-Array.
STATUS
This behavior is by design.
REFERENCES
For more information on this, please see the following article in the
Microsoft Knowledge Base:
129329 How to Populate a Form's ListBox Object from an Array
Keywords: kbprb KB177157