Jan 11, 2012
OK, I'm trying to display tooltip text for a dynamic edit box. Well, at least I'm trying to.
View 12 Replies
On my form, I've got a tool tip control which I've conveniently named ToolTip. My edit box displays OK. But, what I want to do is when the user hovers their mouse over the text box, I want the tool tip to display some text.
I think there are two problems that I'm having. I'm not convinced that I'm properly addressing a dynamic text box name. Ideally, I would want to be able to refer to the text box (but using a dynamic variable that will contain the prefix of the name). To hardcode, I would want to be able to achieve (not in this example but in theory): ABCDEFGt_0300.Text = "hello"
Dim controllerName as string = "ABCDEFG"
Dim t_0300 As New TextBox()