BUG: Changing ListItem.Selected Doesn't Change SelectedItem (145683)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q145683 SUMMARY
Setting the Selected property of a ListItem object in a ListView control to
True does not change the SelectedItem property of the ListView control to
correspond to this ListItem.
WORKAROUND
To avoid this problem, use the SelectedItem property of the ListView
control instead of the Selected property of an individual ListItem. Setting
the SelectedItem property of a ListView control to a given ListItem will
correctly modify the Selected property of that ListItem.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbbug KB145683 |
---|
|