Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use grid cell's contents to call function for tooltip
Message
De
06/11/2008 23:22:16
 
 
À
05/11/2008 14:47:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01359942
Message ID:
01360386
Vues:
31
Good news: Yes, there is a way to do this - my grid class does that, and I use it QLL the time. Actually, I display a lot more than tooltips, sometimes tables (fixed font) with lots of data. (I took the idea from an article by Srt Bergquist from an 2003 article in Fox Talk

Bad news: This is embedded in my grid class and not so easy to extract. I see that your requirement has been removed, so it seems like its not worth pursuing more.

Jim


>Hi All,
>
>Let's say I have a grid with this info on column1
>
>UserId
>--------
>330
>429
>892
>
>etc, etc
>
>Now when the user hovers the mouse over the cell, let's say over user id 429, I want to display the corresponding name of that user. The full name is in another cursor that I can look up or I can add it to this cursor as an extra field. This cursor has a FILTER which I think complicated things a little. I've been tinkering with "GridHitTest" but haven't been able to resolve this problem.
>
>Is there any way of doing this?
>
>Thanks.
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform