Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use grid cell's contents to call function for tooltip
Message
De
05/11/2008 16:31:22
 
 
À
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:
01359975
Vues:
38
>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.
Would setting the ShowTips property of the form to true and putting "this.ToolTipText= employeename" in the gridname.columnname.mouseover (assuming employeename is the extra field you add to the cursor)?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform