I think I'm going to kill somebody because of this. The same code, the same window position, everything is the same, one time it is displayed correctly, but another time it's upside down (7 hours are wasted so far):
Here's the code:
vb.net Code:
' Tips is Windows.Forms.ToolTip component.
Try
Matches = Regex.Matches(InputBuffer, pattern)
Catch ex As ArgumentException
rtbRegex.BackColor = Color.Pink
rtbRegex.Select()
With Tips
.IsBalloon = True
.ToolTipTitle = "Error"
.ToolTipIcon = ToolTipIcon.Error
.UseAnimation = True
.UseFading = True
.Show("The regular expression is invalid.", rtbRegex, 3000)
End With
Exit Sub
End Try
And here's what I get (I repeat - I didn't change anything, just typed in a ( then deleted and typed it again:

Does anybody know how to make it behave correctly?
Does anybody