[Migrated content. Thread originally posted on 08 March 2011]Hi All,
Im trying to add an image to a tooltip and have found the following VB code and was just wondering if any one knows have to convert to Visual Cobol Code?
ToolTip1.SetToolTip(dgv, " ")
1. Private Sub ToolTip1_Draw(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawToolTipEventArgs) Handles ToolTip1.Draw
5. e.Graphics.DrawImage(img, 0, 0)
6. End Sub
8. Private Sub ToolTip1_Popup(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PopupEventArgs) Handles ToolTip1.Popup
9. e.ToolTipSize = New Size(img.Width, img.Height)
10. End Sub
Link to site:-
Any help would be gratefully received.