Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box 'free form' text
Message
De
25/06/1999 17:10:38
Jaime Vila
Miami Children's Hosp. - Radiology
Miami, Floride, États-Unis
 
 
À
25/06/1999 16:56:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00234168
Message ID:
00234206
Vues:
33
>>>>Good day to all!!!!
>>>>
>>>>I'm hoping someone can help me with this, I'm stuck!!!
>>>>
>>>>I've got a form with a combo (drop down) box that uses a field in a table as it's source.
>>>>
>>>>I would like to have the option of typing in a value, instead of only selecting from the list. When I type a string value into the combo box and then try to use it via the controls Value property, It's blank.
>>>>
>>>>HELP!!!
>>>>TIA
>>>
>>>When Combo.Style=0, the typing string (if you type something which is not in list portion) goes to Combo.DisplayValue property, and Value is really blank.
>>
>>Thanks Edward !
>>
>>So where do the characters I enter into the edit area go when that control losses focus?
>>
>>TIA
>
>They go to combo.displayvalue property, e.g.
>** Combo.Lostfocus event
>IF Not (This.DisplayValue==This.Value)
> =messagebox("you really typed something new here")
>ENDIF

I'm using VFP 3.0 . . . . I'll try it with VFP 6 . . . Thanks again
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform