Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP3, ComboBox and Ampersand
Message
De
11/07/1998 12:47:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00116165
Message ID:
00116489
Vues:
17
>>Alan, what's the difference between a drop down combo box and a list?
>>
>>I've been having the same problem and had resigned myself to accepting it as a limitation. I'll be displaying user data so none of the other workarounds had been appropriate. using AddListItem will be very good.
>>
>Sarah,
>
>A dropDownList style does not allow the user to type values that are not in the LIst of combobox. A DropDownCombo does allow the user to type in values that are not in the list of the combobox. Don't get too excited, because th3e dropdowncombo does nothing with the value typed in if it isn't in the list, you have to write code in the events of the combo to hanlde the situation where DisplayValue <> Value.

A further difference seems to be that the incremental search flag has no affect if the control is a dropdown combo. I suppose that since you can type whatever you want into the box, it just doesn't bother with the search.

I figure what I need to do is to build an incremental search for the dropdown combo style and disallow typing of anything not found in the new incremental search.

I suppose too, I have to use a timer tuned to the double click timer in order to make it work like the real dropdown list incremental search. Starting to sound a little messy, but... I guess that's part of what makes life interesting.

Oh, yes, to Sarah, since we're talking about 3.0b, I doubt very much that AddListItem will make any difference.

I wish I could just use 5.0a on this one, but unfortunately, that's not possible.

Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform