Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable reference in tool tip
Message
De
10/10/2002 08:36:23
 
 
À
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:
00709772
Vues:
18
>Hi. VFP7 user. Can a tooltip contain a variable reference? For example: 'Click her for customer #'+(mcustno)
>
>Thanks, Randy

Yes it can. The problem is that if you put it in the properties at design time, then it picks up the value of the variable at the time the control is initialised and never changes it. You have to put enter the tooltiptext information at runtime. For example, you can put a line in the control's refresh as follows:
This.ToolTipText = "Click here for customer #" + mCustNo
If not the refresh, then some event or code that will run whenever you update the variable.

Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform