why my data grid control doesn't show any tooltip text that I set.
Please help to fix on why my data grid does not show my tooltip text that I made using VB.NET 2005.
Please help to fix on why my data grid does not show my tooltip text that I made using VB.NET 2005.
refer to the following forum post to show tooltips for DGV
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1092075&SiteID=1
JonathanClemente,
I soppuse you are using the ToolTip Class. Actually there are several members of this class refers to its shown such as Active, ShowAlways manually and AutoPopDelay, InitialDelay by tools. What is your specific problem when showing the tooltip?
Here I have a sample code on the tooltip, just take a reference and hope you can fix your problem:
' This example assumes that the Form_Load event handling method
' is connected to the Load event of the form.
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Create the ToolTip and associate with the Form container.
Dim toolTip1 As New ToolTip()
' Set up the delays for the ToolTip.
toolTip1.AutoPopDelay = 5000
toolTip1.InitialDelay = 1000
toolTip1.ReshowDelay = 500
' Force the ToolTip text to be displayed whether or not the form is active.
toolTip1.ShowAlways = True
' Set up the ToolTip text for the Button and Checkbox.
toolTip1.SetToolTip(Me.button1, "My button1")
toolTip1.SetToolTip(Me.checkBox1, "My checkBox1")
End Sub