Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddProp in VFP5.0
Message
From
08/10/2001 18:18:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00565691
Message ID:
00565721
Views:
19
>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform