Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update a form property
Message
From
04/06/2002 12:57:13
 
 
To
04/06/2002 12:04:00
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Puerto Rico
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00664553
Message ID:
00664591
Views:
23
>How do I update and save a property in VFP 6.0. For example I have a text object with a value of "x" and I want to change this value to "y" so when the next time the form comes up it defaults to "y".

Carlos

Do you mean at runtime? You need a way to persist the change as the property will have the same instanced value next time around from whatever is set in its property sheet or set in its Init()

You could persist it in a file (INI, XML, Registry, DBF, TXT, whatever) and then read in in the Init() of the object that contains this property.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform