Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Row Limitations
Message
De
25/02/2009 20:16:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/02/2009 14:34:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01384116
Message ID:
01384212
Vues:
119
>>>We thought it was our class, but then we threw a default Foxpro ComboBox on a form and set the RowSourceType to Fields, the RowSource to a cursor (tried a table also) and then started playing around with selecting different values. It is 2 column and we can consistently make it break. By choosing a row near the top of the list, then choosing one around number 250 in the list, it will not change the value. If we choose something near the bottom, it will. If we have one chosen at the bottom, then choose one near the top, it will not change the value. We are very tired of testing this, but it does seem to happen more when the display drops "Up" (near the bottom of the screen) then the normal "Down" direction. It seems to only happen when the cursor or table has (somewhere around) 250 records or more. Anyone seen this type of behavior?
>>
>>I've seen this behavior. Moreover, if you have many items disabled in the list, you would not be able to type a value to pick up the combo's value.
>
>Is the only solution to have less than 250 or 512 or whatever? That can't be what other developers have chosen to do. Is there no workaround?

In most cases, anything larger than 20 or 50 items, 100 tops, is most probably not good for a simple combo - for ergonomic reasons. You may get better mileage out of an autofill combo (of which there are a few downloadable here), or from anything else that has incremental search which doesn't exactly catch Alzheimer after _dblclick seconds. Simple combo becomes just too long for a regular user and impedes usability.

I've had far better results with a textbox with a search term, enter, pop up a little form with a grid with matched records, select one, stuff back into textbox, next object.

YMMV, of course - my experience may be completely inapplicable in your case.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform