Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox RowSource Not Found Why
Message
From
19/06/1998 13:43:52
 
 
To
19/06/1998 13:12:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00109784
Message ID:
00109992
Views:
23
>>* Ary was declared as a PROPERTY
>>* when building this class.
>>DECLARE this.ary[_tally+1,2]
>>this.ary[_tally+1,1]=' '
>>this.ary[_tally+1,2]=' '
>>
>>WITH THIS
>> .ROWSOURCETYPE =5 && Array
>> .ROWSROUCE ='THIS.ARY' <--- CRASH
>> .BOUNDCOLUMN =2
>> .COLUMNCOUNT =ALEN(this.ary,2)
>> .NUMBEROFELEMENTS=ALEN(this.ary,1)
>>ENDWITH
>>
>>In the INIT of the combobox,
>>the program crashes and tells
>>me :
>> RowSource is Not Found
...
>Gene,
>
>Your code ought to work. I define array properties in combo and listbox classes all the time to use as rowsources. The only thing I can think of is that you misspelled "rowsource" as "rowsrouce".

You might try moving the code from the init of the _combo_ to the init of the _form_.

Paul M.
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Reply
Map
View

Click here to load this message in the networking platform