Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object.Tag purpose
Message
De
21/09/2005 07:13:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01051560
Message ID:
01051578
Vues:
16
>>>Hello,
>>>
>>>What is the use of Object.Tag?
>>
>>You can keep any data there (that data must be Char) From Help for TAG property:
>>Stores any extra data needed for your program. Available at design time and run time.
>
>Yes, I understand that...
>
>But, I just found out that mostly every object has such property, but I would like to ask UT users where they used this property. Is it usefull? Maybe there is some function getObjectByTag?

No there is not a such object. Tag is simply a property that you might use to store char data. Some uses. ie:
*Form activate - I want this to run once after init
if empty(this.Tag)
  this.Tag = 'done'
  *...
endif

* A textbox keeping pre-edit values - usefull for say summing grid column
*Gotfocus
this.Tag = transform(this.Value) 
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform