Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object.Tag purpose
Message
From
21/09/2005 09:42:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01051560
Message ID:
01051613
Views:
9
>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?

As the others said, you can keep any string in there. I concur with Hilmar that it is generally better to use your onw custom property with a descriptive name. That said, I use Tag only when I need to change a tooltip at runtime, depending on some condition, and later I want to return the tooltip to default.

What I do then is in INIT() I copy the default tooltip (generally set in the properties window) to Tag so I can restore it anytime from there.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform