Microsoft KB Archive/194305

= BUG: Highlighter in List Box Does Not Move with MoverBar =

Article ID: 194305

Article Last Modified on 8/13/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 Q194305



SYMPTOMS
In Visual FoxPro 5.x and 6.0, when a list box has the MultiSelect and MoverBar properties both set to .T., and you click and highlight an item in the list box, the moverbar on the left of the list box moves up or down and the selected item moves with the moverbar but the highlighted bar does not move. The item that moved into its place in the list is highlighted instead.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
This behavior does not happen in Visual FoxPro 3.x.

Steps to Reproduce Behavior
 Create a Form, named MyList. Add the customer table to the data environment. In the form, add a list box control.  In Init event of the list box, insert the following code: SCAN This.AddItem(Company) ENDSCAN  Set the MoverBars and MultiSelect properties of the list box .T.. Save and run the form.</li> Click in the list box to select an item, then click the moverbar of the selected items and move the bar up or down.</li></ol>

NOTE: Once you move the selected item using the moverbar on the left of the list box, the highlight for the selected item remains in the same location and does not move with the moverbar.

Additional query words: kbVFp500abug kbVFp600bug kbCtrl kbContainer kbvfp500 kbvfp500a kbvfp600

Keywords: kbbug kbpending KB194305

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.