Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning value to property of object indirectly
Message
From
21/11/2015 10:53:26
Walter Meester
HoogkarspelNetherlands
 
 
To
21/11/2015 05:22:22
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:
01627730
Views:
51
>>STORE "Store" TO ("_screen." + "Caption")
>>= ADDPROPERTY(_screen, "Caption", "AddProperty")
>>_vfp.SetVar("_screen.Caption", "_vfp.setvar")
>
>addproperty is not good.
>it create a missed property.

ADDPROPERTY() will just work fine. If the property already exists, it will just set it.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform