Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum # of chars in property?
Message
De
18/04/2008 14:08:46
 
 
À
18/04/2008 14:00:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01311695
Message ID:
01311747
Vues:
9
>>>>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
>
Thanks.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform