P
Paul
Been a long time since I've played with this, just got .Net version of
Visual Basic. Having annoyance with a real simple thing. I'm adding a
tooltip to a control like:
Me.ToolTip1.SetToolTip(Me.SubName,"This is a two-line" & vbCrLf & _
"tooltip.")
If I ctrl-F5 from the code menu, it compiles and runs OK (breaks the
tooltip into two lines). If I go to the form design window, I get the
error:
"The variable 'vbCrLf' is either undeclared or was never assigned."
Didn't think I needed to declare a system constant. When I go back to
the code view, VB has ever so kindly deleted the tooltip from the
control.
This has got to be something real stupid on my part, but I'm blocked.
p
Visual Basic. Having annoyance with a real simple thing. I'm adding a
tooltip to a control like:
Me.ToolTip1.SetToolTip(Me.SubName,"This is a two-line" & vbCrLf & _
"tooltip.")
If I ctrl-F5 from the code menu, it compiles and runs OK (breaks the
tooltip into two lines). If I go to the form design window, I get the
error:
"The variable 'vbCrLf' is either undeclared or was never assigned."
Didn't think I needed to declare a system constant. When I go back to
the code view, VB has ever so kindly deleted the tooltip from the
control.
This has got to be something real stupid on my part, but I'm blocked.
p