Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum # of chars in property?
Message
From
18/04/2008 14:00:51
 
 
To
18/04/2008 12:40:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01311695
Message ID:
01311745
Views:
17
>>>I have to create a new property. What will be the maximum number of characters that this property will be able to contain?
>>
>>Under VFP7 the limit is 40 chars, I believe. In VFP9 the limit was increased and I think it is 256 chars.
>
>Where did you get that info? I'm sure that this is wrong at least for VFP7. For example the path to get to an icon is holding more characters than that in my application.

I misunderstood your original question -- I thought you were asking for the length of the property name itself not the value assignment length.

For the value assignment length, AFAIK it is 255 chars or in that area via the design time environment of VFP. The 8K limit was set in VFP8 I think or it is VFP9.

I think that you can assign a value that is any length via a program command line. So if you had a very large length that needed to be set, save the value in a properties file. Then read the properties file in the Init method of the form and assign to the property the value via code:
PROCEDURE Init
...

thisform.MyLongPropertyValue = FILETOSTR("property.file")
ENDPROC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform