Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddProp in VFP5.0
Message
De
08/10/2001 18:18:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00565691
Message ID:
00565721
Vues:
21
>I am using Addprop5.fll for Visual FoxPro 5.0 and trying to use this function to create a property that is an array but I am not having any luck.
>
>I have tried the following:
>dimension m.atstArray[10,1]
>
> =AddProp(THIS,"UDStyle[10,1]","")
> =AddProp(THIS,"UDStyle[10,1]",m.atstArray)
> =AddProp(THIS,"UDStyle2[10,1]",ACOPY(m.atstArray, THIS.UDStyle2[10,1]))
> =AddProp(THIS,"UDStyle2",ACOPY(m.atstArray, This.UDStyle2))

The addprop.dll does not support adding properties to arrays. You should be using VFP 7.0, you can do this with VFP 7.0 and the code below is an example that works:

x=createobject("form")
x.AddProperty("aTest[2]")
?x.atest[2]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform