Hi,
I'm trying to use the ToolTipShow event to set tooltips on a per-cell basis. My code looks like:
private bool gridBeds_ToolTipShow(object sender, ref string text)
{
HitTestInfo hti = gridBeds.GetHitTestInfoAt(gridBeds.PointToClient(Cursor.Position));
if (hti.HitTest == HitTest.OnNode)
{
text = hti.Row + "/" + hti.Col;
return true;
}
else return false;
}
I can verify that the event is being raised correctly and the value of the string 'text' is getting set correctly, but no tooltip appears. Am I missing something?
Thanks,
Kevin