1、在MouseEnterCell事件设置代码:
If e.Col.Name = "备注" AndAlso e.Row.IsNull("备注") = False Then e.Table.ShowToolTip(e.Row("备注"),e.Row,e.Col)End If
如果e.Row("备注")内容太长,显示很难看,希望可以多行显示,一行显示多少个字符可以自由设定。