how to show tooltip for checked list box items on mouse move in c#?
C#
1
Posts
1
Posters
0
Views
1
Watching
-
in case of normal listbox it is possible with the usage of "IndexFromPoint" method but for checked list box there is no such method. So pls can any one tell me how to proceed string strTip = ""; //Get the item int nIdx = lblRecords.IndexFromPoint(e.Location); if ((nIdx >= 0) && (nIdx < lblRecords.Items.Count)) strTip = lblRecords.Items[nIdx].ToString(); toolTip1.SetToolTip(lblRecords, strTip); Thanks in advance.