Microsoft KB Archive/184896

= PRB: Scroll Arrows Not Showing When DisplayCount = 1 =

Article ID: 184896

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q184896



SYMPTOMS
In Visual FoxPro 6.0, setting the DisplayCount property to 1 causes the scroll arrows not to show in the drop-down list box. However, clicking on the scroll arrows location scrolls the list.



CAUSE
There is not enough room to see the scroll arrows when the DisplayCount is equal to 1; therefore, the scroll arrows do not appear.



RESOLUTION
To see the scroll arrow in the drop-down list box, set the DisplayCount property to two.



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.



Steps to Reproduce Behavior
 Create a form. Drop a Combo box object onto the form and named it combo1.  Place the following code in the Init of the form: Thisform.combo1.AddItem("One") Thisform.combo1.AddItem("Two") Thisform.combo1.AddItem("Three") Thisform.combo1.AddItem("Four")  Set the combo's DisplayCount property to 1. Save and run the form.</li></ol>

After clicking the down arrow of the combo box, the drop-down list only displays one item without scroll arrows.

Additional query words: kbvfp600

Keywords: kbprb KB184896

-

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

© Microsoft Corporation. All rights reserved.