Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tooltiptext on grid header
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00693643
Message ID:
00694749
Vues:
15
Hi Martin,

Check out FAQ, which Sergey referenced. I think, it's easier solution and doesn't require timer...

>Hi Jonathan,
>
> .Download this file.
>
> MartinJ
>***************
>
>VCX library headttt.vcx contains two classes:
>_tmrTipHeader - Timer for setting Tooltip over object Header
>_shpTipHeader - Shape for setting display tooltip
>
>Exemplary form is run over main.prg.
>Library coup load into memery.
>In form put timer (_tmrTipHeader) and redefine his method SetToolTip().
>This method get parameter as reference column under mouse pointer.
>
>Attention:
>At from deactivate is urgent timer disable a at activate form enable again. The same is needed for page of pageframe.
>
>>Thanks for that Sergey.
>>
>>It worked. However, since I wanted to add tooltiptext only to headers, I found a much easier and straight forward trick to do that. I have just created a few command buttons which look exactly like the headers and placed them over the grid headers with the right tooltiptext and caption.
>>
>>It was fun to cheat the system!
>>
>>Thanks again
>>
>>Jonathan
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform