Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box with an Array
Message
 
 
To
24/06/1999 07:00:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00232378
Message ID:
00233511
Views:
30
No need to calculate the length of the array. Just set

rowsource=this.JohnArray
rowsourcetype=array
numberofelements=0 (default)

in the combobox init
select somestuff from somewhere into array this.JohnArray

Voila!

>I tried this and still had to do a ReQuery() to get it to show up...

>>Someone else got the answer for you, but here are some tips:
>>- combobox should almost always have bounto=.t. (set this is your base class)
>>- consider making a combobox class that has an array as a property. This solves having to requery after loading the array and then releasing the array.
Previous
Reply
Map
View

Click here to load this message in the networking platform