Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable reference in tool tip
Message
De
10/10/2002 08:52:38
 
 
À
10/10/2002 08:07:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00709763
Message ID:
00709780
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform