Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write expression vs. simple assign
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Write expression vs. simple assign
Divers
Thread ID:
00591462
Message ID:
00591462
Vues:
57
Hi everybody,

In my colleague's code I see the following:
ThisForm.Cpageframe1.Page1.Wgpageframe1.Page1.writeexpression('Caption',[=("Current Record"+" of "+ALLTRIM(STR(Thisform.pnaddresses))+" total addresses")])
ThisForm.Cpageframe1.Page1.writeexpression('Caption',[=("Property Addr - ("+ALLTRIM(STR(Thisform.pnaddresses))+")")])
ThisForm.Cpageframe1.Page1.Wgpageframe1.Page1.cmdpreviousaddress.refresh()
ThisForm.Cpageframe1.Page1.Wgpageframe1.Page1.cmdnextaddress.refresh()
Do you know, why he is using WriteExpression and not just Page1.Caption = ...
What is benefit/disadvantage of one way to another?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform