Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a caption on a label on a form
Message
 
 
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:
01345803
Vues:
19
I moved the code out of the refresh method into the interactive event of my spinner control, and added the visible trick as suggested by yourself and Edward. (Think Edward pipped you to the post)
SELECT season
=SEEK(this.value,"season","iyear"))

mdate1=season.summer1
mdate2=season.summer2

thisform.labSummer.Visible=.f.
thisform.labSummer.caption=CMONTH(mdate1)+" "+STR(DAY(mdate1),2)+dayofmonth(DAY(mdate1))+" - "+CMONTH(mdate2)+" "+STR(DAY(mdate2),2)+dayofmonth(DAY(mdate2))
thisform.labSummer.Visible=.t.
>Hi Robin,
>
>You're welcome, but whos code solved the problem?
>
>>Hi Naomi
>>
>>Many thx
>>
>>Thats cracked it!
>>
Rob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform