Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a caption on a label on a form
Message
De
08/09/2008 10:24:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01345731
Message ID:
01345733
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>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 don't think that Refresh is the best place. Could you just reset label.caption from any form's event where it is needed? Please, also remember that in some dynamic situations you would be required to toggle label.visible property to achieve the result.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform