Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a caption on a label on a form
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01345731
Message ID:
01345754
Views:
18
Hi Naomi

Many thx

Thats cracked it!

>>I have a label on my form that I want to change depending on certain details in a table.
>>
>>My code to work out the new value is in the refresh method of the label.
>>
>>So when I know the details of the table have changed, I simply run the refresh method of the label.
>>
>>However, the changes can only be seen if I SET STEP ON and step thorugh the code?
>>
>>Thx in advance
>
>I usually use this trick - change label.visible to false and then back to true. It refreshes the label.
Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform