PRB: Disabled ComboBox Item Disappears
Article ID: 134243
Article Last Modified on 2/15/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q134243
SYMPTOMS
Disabling a ComboBox list item by using the This.List(This.ListItemId)='\'
method causes the disabled item to disappear when the RowSourceType is
either STRUCTURE or VALUE.
RESOLUTION
Use the following statement, and ensure that the DisabledItemForeColor and
DisabledItemBackColor properties display the item properly:
This.List(This.ListItemId)="\"+This.List(This.ListItemId)
STATUS
Microsoft is researching this behavior and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Additional query words: VFoxWin OOP 3.00
Keywords: KB134243