Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to restore original label
Message
From
04/08/1998 14:07:28
Donny Sims
Independent Computer Consultants Inc
Scottsboro, Alabama, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00123854
Message ID:
00123873
Views:
20
Thanks Ken, you got me on the right track. I actually used the ReadExpression() method like this though: 

thisform.lblMyLabel.ReadExpression('caption')

which did exactally what I wanted.

Thanks again
>Just a thought: if your label is a class you can use it's ResetToDefault() method. ie: thisform.lblMyLabel.ResetToDefault('caption')
>
> >Hi all
>>
>>I have code in the valid event of a input field to do a lookup and change the label caption assoicated with the field to be the contents of the looked up dbf field, this part works fine. My problem is, if the user returns to the input field and blanks it out how do I reset the label caption to the original (stored in the scx) value ?
Donny Sims

Life is what happens to us while were busy making other plans.
- John Lennon
Previous
Reply
Map
View

Click here to load this message in the networking platform