Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: read ROWSOURCE return max 256 characters
Message
De
12/06/2005 17:33:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01022595
Message ID:
01022625
Vues:
12
>listbox and Combobox ROWSOURCE support more 256 characters strings,
>>but when you read the value, VFP it returns only the first 256:
>>
>>clear
>>x=CREATEOBJECT("listbox")
>>x.ROWSOURCE=REPLICATE('x',255)+'yz'
>>? x.baseclass,LEN(x.ROWSOURCE),RIGHT(x.ROWSOURCE,1)
>>x=CREATEOBJECT("combobox")
>>x.ROWSOURCE=REPLICATE('x',255)+'yz'
>>? x.baseclass,LEN(x.ROWSOURCE),RIGHT(x.ROWSOURCE,1)
>>

>
>Good job Fabio,
>now i understand while you answer Bernhart:
>- a bug : when you read ListBox.RowSource, it read 256 characters only
>
>and the Solution is:
>
>SET TEXTMERGE TO MEMVAR THIS.ListResident.ROWSOURCE NOSHOW ON
>
>The limit is 8192.


Hi Vladimir,
I do not want to be misinterpreted,
also
 listibox.RowSource = m.String1000
work.

what it cannot be made is read the property:
listibox.RowSource = listibox.RowSource
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform