Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning value to property of object indirectly
Message
From
21/11/2015 05:38:20
 
 
To
21/11/2015 05:28:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01627690
Message ID:
01627717
Views:
43
>>>STORE "Store" TO ("_screen." + "Caption")
>>>= ADDPROPERTY(_screen, "Caption", "AddProperty")
>>>_vfp.SetVar("_screen.Caption", "_vfp.setvar")
>>
>>addproperty is not good.
>>it work with a missed property.
>
>Said so myself in direct answer to Albert - but might actually be a benefit here, as it guarantees the property after the call to set it in both cases.
>But _vfp.SetVar does NOT work on my machine with object.property, only with memvars:
>_vfp.SetVar("m.myvar", "_vfp.setvar")
>_vfp.SetVar("myvar2", "_vfp.setvar")

You are right.

VFP documentation is not very precise, and everything must be verified.

I wrote the track, on which Albert can work,
without asking myself many thoughts.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform