Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding long string to listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01080638
Message ID:
01081808
Vues:
9
Hi Sergey, thanks for your reply. I guess I will try use an array as the rowSource to get around the limitation.

>It's a limitation of the Listbox/Combobox. You can either use RowSourcetype=5-Array or store additional info in an array property and use ItemData property to reference it.
>
>>I am adding new items to a listbox with rowsourcetype=0 like below:
>
>>   this.AddItem(cString1)
>>   this.List(this.NewIndex,2) = cString2
>
>>where cString2 is a long string. Unfortunately cString2 is truncated to 255 chars after adding to the list.
>>
>>Is there a way to add cString2 with more than 255 chars with rowsourcetype=0?
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform