Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable reference in tool tip
Message
From
10/10/2002 08:52:38
 
 
To
10/10/2002 08:07:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00709763
Message ID:
00709780
Views:
13
>Hi. VFP7 user. Can a tooltip contain a variable reference? For example: 'Click her for customer #'+(mcustno)
>

Yes, as long as the variable mcustno is resolvable at the time the tooltip value is assigned; the tooltip is a property of the thing. To resolve it on a dynamic basis, you could always add an ACCESS method to the tooltiptext property that returns the string value 'Click here for customer #'+mcustno whenever the tooltiptext property is read by subclassing the control used for displaying tooltips with this kind of behavior...you also need to enable the control's containing Form's or Toolbar's ShowTips property.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform