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