Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update a form property
Message
From
04/06/2002 12:38:01
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
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:
00664575
Views:
19
If this default only needs to be available for the duration of the Program, it is a good usage for a Global Application object, such as:
oGlobal.AddProperty("MyProperty","")
...
oGlobal.MyProperty = THISFORM.MyTextBox.Value
...
THISFORM.MyTextBox.Value = oGlobal.Myproperty
The Global property is likewise available to any other Form in the program for the duration of the program...

HTH...



>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".
>
>TIA
>
>Carlos
Previous
Reply
Map
View

Click here to load this message in the networking platform