D
Dean Richardson
Hello,
I have a large number of forms which contain an equally large number
of textboxes within (All textboxes have a prefix of txt before their
name). Is there a way that I can have the Help.ShowPopup to display
the contents of the textbox in which the mouse is hovering over?
The issue is that there is text in the text boxes, but cannot be seen
as the text is longer than the textbox.
I can use the following to display the contents of the textbox, but am
hoping there is a way that can work for all of the textboxes rather
than copying the same three lines per textbox as shown below:
Private Sub txtFullName_MouseHover(ByVal sender As Object, ByVal e
As System.EventArgs) Handles txtFullName.MouseHover
Help.ShowPopup(Me, txtFullName.Text, Cursor.Position)
End Sub
Thanks in Advanced.
LD
I have a large number of forms which contain an equally large number
of textboxes within (All textboxes have a prefix of txt before their
name). Is there a way that I can have the Help.ShowPopup to display
the contents of the textbox in which the mouse is hovering over?
The issue is that there is text in the text boxes, but cannot be seen
as the text is longer than the textbox.
I can use the following to display the contents of the textbox, but am
hoping there is a way that can work for all of the textboxes rather
than copying the same three lines per textbox as shown below:
Private Sub txtFullName_MouseHover(ByVal sender As Object, ByVal e
As System.EventArgs) Handles txtFullName.MouseHover
Help.ShowPopup(Me, txtFullName.Text, Cursor.Position)
End Sub
Thanks in Advanced.
LD