Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array Driven Combobox Issue
Message
From
23/01/2004 05:27:28
 
 
To
22/01/2004 10:41:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00869500
Message ID:
00869795
Views:
11
Linos

Is your combo's rowSourceType = 5 (array)?

If not, it can be 0 and you can add your array to it using .AddItem() and .AddListItem().

Terry

>Here's an example of my code along with some things I've tried to make it work. That includes releasing the array and rebuilding it:
>
>thisform.ReportSelCombo.Rowsource=""
>release rname_array
>public RNAME_ARRAY (1,2)
>
>
>x=asort(RNAME_ARRAY)
>thisform.ReportSelCombo.Rowsource=RNAME_ARRAY
>
>thisform.ReportSelCombo.refresh
>thisform.refresh
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform