Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beginners combo box question
Message
De
05/05/2000 18:19:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00366803
Message ID:
00366847
Vues:
12
>>How do I put values into a combo box?
>>Is it a bad idea to hard code values in a combo box?
>>
>>tia
>>
>>Josh
>

>
>I didn't think a beginner's question would be coming from Dan. *bg*
>
>There are quite a few ways to populate a combo. Just look at all the choices you have under RowSourceType! There are valid cases where you'd want to hardcode a small number of choice for a combo. To do that either select "Values" as the RowSourceType, then list the choices in the RowSource, or you can select "None" for the RowSourceType and add items to the combo in code with the AddItem or AddListItem methods.

Thank you very much.

Another question.

If in the InteractiveChange event of the combo, I want to change the record source of the grid. Should I call the grids refresh and in the refresh build my cursor based on the value of the combo box?

Josh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform