Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable reference in tool tip
Message
From
10/10/2002 08:36:23
 
 
To
10/10/2002 08:07:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00709763
Message ID:
00709772
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform