Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
But the tooltips are great!
Message
De
29/01/2017 16:53:31
 
 
À
29/01/2017 16:14:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2016
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01647130
Message ID:
01647132
Vues:
79
its a bug in vfp9sp2.
the tooltiptext in headers and columns dont show at all even when form.showtips=.t.

read this (not tested):
https://social.msdn.microsoft.com/Forums/en-US/3936fe65-b5bf-4d93-8303-0096fade2df0/tooltiptext-in-a-grid?forum=visualfoxprogeneral

there is two simple solutions:
1-create a column pointed to the recno()
2.in grid.interactiveChange event put this code
if thisform.showtips=.t.
sele yourcursor
wait window "record:"+trans(recno()) nowait
endi
when you select any record a window appears indicating the tooltip you want to show.
if grid.showtips=.f. this window dont fire.

update:
you can also use the GridHitTest Method (see in help)
Returns, as output parameters, the components of a grid control corresponding to specified horizontal (X) and vertical (Y) coordinates.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform