Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginners combo box question
Message
From
05/05/2000 18:19:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00366803
Message ID:
00366847
Views:
13
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform