Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use grid cell's contents to call function for tooltip
Message
From
06/11/2008 23:22:16
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359942
Message ID:
01360386
Views:
32
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
Previous
Reply
Map
View

Click here to load this message in the networking platform