Rafael:
I use a procedure to generate a grid from a list of fields. Here's the
tooltip code:
*-- Now we set the Column properties
with oGrid.Columns[N]
.Header1.Caption = iif(empty(ColHd), Dfield, ColHd)
.Header1.ToolTipText = "Click and drag to move columns."
if Alltrim(Dfield) = Tag()
*-- this is the sort-key field
.Header1.BackColor = clrSortHead
else
.Header1.BackColor = clrColHead
endif
................
Has always worked fine.
FWIW, I am running VFP9 SP1, not SP2.
Dan Covill
On 07/17/13 03:37 PM, Rafael Copquin wrote:
I need to show different tooltips on a grid, one for each column the
mouse hovers over.
If I put a tooltip on the grid, it shows, but if I put a tooltip either
on a column or a textbox in the column it does not show.
ShowTips is .t. of course.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.