Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox RowSource Not Found Why
Message
De
19/06/1998 13:43:52
 
 
À
19/06/1998 13:12:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00109784
Message ID:
00109992
Vues:
22
>>* 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform