ToolTipText

返回或设置ListViewRow的动态提示信息。

示例

Dim lvw As WinForm.ListView = e.Form.Controls("ListView1")
Dim
nms() As String = {"张飞","吕布","赵云"}
Dim
tps() As String = {"张飞大嗓门","吕布爱貂蝉","赵云有点帅"}
For i As Integer = 0 To nms.Length - 1
    Dim vr As WinForm.ListViewRow = lvw.Rows.Add()
    vr.Text = nms(i)
    vr.ToolTipText = tps(i)

Next

 


本页地址:http://www.foxtable.com/webhelp/topics/2860.htm