Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP50 - Adding to a combo box from a field
Message
De
10/03/1997 10:00:45
 
 
À
10/03/1997 09:56:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00023407
Message ID:
00023574
Vues:
30
>>>>>>>How do I fill a drop-down combo or list box
>>>>>>>by entering data from a field?
>>>>>>
>>>>>>Fiiling a combobox depends what RowSource you use. If it's Value- use AddItem(), Alias- INSERT into Alias, Array- AINS(), and so on.
>>>>>
>>>>>ok... Now I can make a Combox and fill it.
>>>>>But, I would like to know how to fill it from an entry into a field?
>>>>>Would I, from the "loose focus" event have some code that
>>>>>would "additem()"?
>>>>>
>>>>>See you Monday.. be careful..
>>>>>rob
>>>>
>>>>In what field are you entering? Is it separate textbox or text portion of combobox?
>>>
>>>Good Morning...
>>>That would be a text portion of the combo box. I want the user to be able to fill the combo box as needed. Most of the time the user will
>>>pick a name from the combo box, but from time to time, the name will have
>>>to be added to the combo box.
>>
>>Combobox.Valid() could contain this.additem(this.displayvalue) (VFP Developer's Guide, p.295)
>
>Thanks ... I will try that...
>
>(VFP Developer's Guide, p.295) must be in VFP 3.0?

Yes I looked at VFP3.0 but VFP5 should have similar documentation.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform