Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not understanding style=0 for ComboBox
Message
De
23/05/2007 14:54:41
 
 
À
23/05/2007 14:26:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01228009
Message ID:
01228024
Vues:
23
Tamar --

A new item that needs to be saved? Are you saying that the new value gets added to the list of standard descriptions?

If so, that's not what I want to achieve ... what I want is to have a list of about 10 standard descriptions, which is what is seen from the drop down. Else, the user can enter whatever they want.

And where would I put the code to check that DisplayValue <> Value ???

Thanks

>>Howdy --
>>
>>I've got a combobox in which I'd like to give the user the ability to select from a brief list of standard descriptions (text), which are maintained in a free table, or to enter freeform any other text.
>>
>>The combobox has a recordsource which is a field in another free table.
>>
>>I think that using style=0 should do the trick. However, when the user enters text, rather then choosing a selection from the drop-down, the text disappears when exiting the field. Furthermore, if I manually put random text into the table, and then edit that record, the text disappears. Looks like it only wants values that are in the rowsource.
>>
>>What part of this have I been missing?
>>
>
>You have to have code that traps and saves thy new entry. Check whether Value=DisplayValue and, if not, you have a new item that needs to be saved.
>
>Tamar
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform