Microsoft KB Archive/185083

= PRB: Combo Box Displays Incorrectly w/ Large DisplayCount =

Article ID: 185083

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q185083



SYMPTOMS
When you have a large value set in the DisplayCount property of a combo box, the drop-down of the combo box either does not display or displays incorrectly.



RESOLUTION
Use a smaller DisplayCount value.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a form. Create a custom array property, something like myarr[1].  In the INIT event of the form, place the following code: DIMENSION Thisform.myarr[1000]

FOR i = 1 TO 500 Thisform.myarr[i] = STR(i) ENDFOR  Place a combo box object on the form. Set the RowSourceType to 5-Array and the RowSource to Thisform.myarr. Set the DisplayCount to 150.</li> Save and run the form.</li> Click the drop-down array.

Nothing shows up. Change the DisplayCount to a smaller number like 50 to fix this problem.</li></ol>

NOTE: If you change the DisplayCount property to 80 or higher, depending upon where you have your combo box in the form and the size of the Visual FoxPro desktop, you may see that the drop-down gets detached from the combo box.

Additional query words: DisplayCount Combobox kbvfp600

Keywords: kbnofix kbprb KB185083

-

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

© Microsoft Corporation. All rights reserved.