Results 1 to 8 of 8

Thread: [RESOLVED] Stupid Baloons $#@!!!

Threaded View

  1. #1

    Thread Starter
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Resolved [RESOLVED] Stupid Baloons $#@!!!

    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:
    1. ' Tips is Windows.Forms.ToolTip component.
    2.  
    3. Try
    4.     Matches = Regex.Matches(InputBuffer, pattern)
    5. Catch ex As ArgumentException
    6.     rtbRegex.BackColor = Color.Pink
    7.     rtbRegex.Select()
    8.     With Tips
    9.         .IsBalloon = True
    10.         .ToolTipTitle = "Error"
    11.         .ToolTipIcon = ToolTipIcon.Error
    12.         .UseAnimation = True
    13.         .UseFading = True
    14.         .Show("The regular expression is invalid.", rtbRegex, 3000)
    15.     End With
    16.     Exit Sub
    17. 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width