Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box tooltip
Message
From
14/01/2005 09:19:17
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977082
Message ID:
00977179
Views:
38
>>>>Hi all,
>>>>I want my textbox tooltip content be equal with Textbox.value at runtime.
>>>>how can i do this?
>>>>Thanks
>>>
>>>
>>>* MouseEnter
>>>this.ToolTipText = m.this.Value
>>>
>>
>>Thanks Dear Fabi.
>>It Solve my problem.
>>
>>also thanks for Borislav
>
>One tiny thing however. I don't agree with Fabio about the use of 'm.this.Value'. It should be 'this.value', so without the mdot. The mdot is complicating things here and does not add quality to the code. Fabio, you are giving a bad example and the risk is that it may become widespread to even specify the mdot when refering to this, thisform and the like. I know you can prove that 'this' could also be the name of a field, but that's really too academic.

Personally, I don't use the m. in this case either, but it's really only a complication if you are not used to it. Fabio does one thing very properly - he remains consistent. If you handle your code in a completely consistent way, then it is not a complication. Again, I don't do it myself, but I can't find any justification in arguing with anyone that someone's code should not be entirely consisent (even if mine isn't).

Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform