Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid's column tooltip
Message
 
 
À
19/06/2015 13:02:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621141
Message ID:
01621356
Vues:
130
>>>Because you get the grid-level tooltip, I don't see a way to specify something at the column level without using the Access method.
>>>
>>>Tamar
>>
>>I am using a form class which has a grid (VFP base class grid). So, there is no way to directly add that grid's tooltiptext_Access method. I've tried using bindevent and the code you provided, but with 0 result - e.g. the tooltip was not shown. I then moved the code into MouseMove event and was able to show the tooltip, but then it was not from the right row.
>>
>>The other question I have - how to specify TootlTipText programmatically so it will evaluate it? If I set it to be =csrBenefits.reason in the property sheet, it does show the actual reason text but only for the first row.
>>
>>I can not figure out how to specify it in code. If I set it to be 'csrBenefits.reason' or "=evaluate('csrBenefits.reason')" it shows text as that.
>
>I really think you need to use the Assign method for all of this. Replacing the grid with a subclass isn't that big a deal.
>
>Tamar

I think I'll give up on ToolTipText idea and rather add a button to show the reason.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform