Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox RowSource Not Found Why
Message
 
 
To
18/06/1998 23:27:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00109784
Message ID:
00109786
Views:
29
Gene,

Did you use the Class, New Property menu item to define the custom property? You also have to use ary[1] or some other length when you define it so will be an array.

>* 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
>
>Why is it not finding
> .ROWSROUCE ='THIS.ARY'
>
>I also tried (no quotes)
> .ROWSROUCE =THIS.ARY
>
>Thanks,
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform