Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: read ROWSOURCE return max 256 characters
Message
From
12/06/2005 17:33:39
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01022595
Message ID:
01022625
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform