Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic tooltips text in a Grid
Message
De
24/02/2009 09:29:31
 
 
À
23/02/2009 16:31:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01383601
Message ID:
01383738
Vues:
79
Mo --

There are two significant problems here:

(1) When the user moves the mouse, that doesn't change the current row in the grid. You have to do some fancy dancing to do so, after which you can construct a tool tip.

(2) Then you have to display the tip next to the proper cell in the grid, which takes some more dancing. VFP won't do it for you -- you have to display it yourself.

I have had a solution for this problem for some time. I can provide you with the code for (1) above (actually, I've already done so in a previous thread, which I can track down for you).

The second issue is a little trickier, and what I use is so intricately bound up in my own classes that I could not extricate it for you.

Cheers

Jim

>is there a way to show dynamic tooltips in a grid (column) like we can in DaynamicBackColor etc...
>
>I am changing the color for a column in a grid based on a number but because of section 508 they need to show a tooltips
>that describe the color meaning.
>I tried many places which gives the right result of the selected row.
>
>Thanks
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform